ppolib | Pure PHP библиотека цифровой подписи для РРО

 by   leon-mbs PHP Version: 1.3.6 License: MIT

kandi X-RAY | ppolib Summary

kandi X-RAY | ppolib Summary

ppolib is a PHP library. ppolib has no vulnerabilities, it has a Permissive License and it has low support. However ppolib has 4 bugs. You can download it from GitHub.

Библиотека для цифровой подписи документов, отправляемых в налоговую (Украина). Большинство кода портировано с Распаковка ключа и сертификата. $cert = \PPOLib\Cert::load($certdata) ;. $key = \PPOLib\KeyStore::load($keydata,$password,$cert ) ;. Где $certdata - содержимое файла сертификата $keydata - содержимое файла ключа $password - пароль к ключу. Поскольку распаковка происходит довольно медленно, обьекты $cert и $key следует положить в сессию или сериализовать и спрятать в надежном хранилище для дальнейшего использования. Загрузка jks файла (ПриватБанк) list($key,$cert) = \PPOLib\KeyStore::loadjks($jks,$password) ;. В случае неверной работы jks ключа на PHP x64 ключ можно сконвертировать в key-6.dat (или получить в налоговой) или воспользоватся сервером подписи Подпись документа или команды. Отправка запроса в налоговую. $answer = \PPOLib\PPO::send($signeddata,'cmd') ;. Если отправляется документ ответом будут подписанные данные, из которых нужно вынуть документ ответа (обычно xml). $data = \PPOLib\PPO::decrypt($answer,true) ;. Если предполагать что ответ с налоговой будет подписан верно то второй параметр (проверка подписи) можно не указывать это ускорит обработку.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ppolib has a low active ecosystem.
              It has 4 star(s) with 1 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              ppolib has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of ppolib is 1.3.6

            kandi-Quality Quality

              ppolib has 4 bugs (0 blocker, 0 critical, 4 major, 0 minor) and 91 code smells.

            kandi-Security Security

              ppolib has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ppolib code analysis shows 0 unresolved vulnerabilities.
              There are 3 security hotspots that need review.

            kandi-License License

              ppolib is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ppolib releases are available to install and integrate.
              It has 1223 lines of code, 79 functions and 11 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ppolib
            Get all kandi verified functions for this library.

            ppolib Key Features

            No Key Features are available at this moment for ppolib.

            ppolib Examples and Code Snippets

            No Code Snippets are available at this moment for ppolib.

            Community Discussions

            No Community Discussions are available at this moment for ppolib.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ppolib

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/leon-mbs/ppolib.git

          • CLI

            gh repo clone leon-mbs/ppolib

          • sshUrl

            git@github.com:leon-mbs/ppolib.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link