├── .gitignore ├── .travis.yml ├── README.md ├── _config.yml ├── codeception.yml ├── composer.json ├── composer.lock ├── src └── Esia │ ├── Config.php │ ├── Exceptions │ ├── AbstractEsiaException.php │ ├── ForbiddenException.php │ ├── InvalidConfigurationException.php │ └── RequestFailException.php │ ├── Http │ ├── Exceptions │ │ └── HttpException.php │ └── GuzzleHttpClient.php │ ├── OpenId.php │ └── Signer │ ├── AbstractSignerPKCS7.php │ ├── CliSignerPKCS7.php │ ├── Exceptions │ ├── CannotGenerateRandomIntException.php │ ├── CannotReadCertificateException.php │ ├── CannotReadPrivateKeyException.php │ ├── NoSuchCertificateFileException.php │ ├── NoSuchKeyFileException.php │ ├── NoSuchTmpDirException.php │ └── SignFailException.php │ ├── SignerInterface.php │ └── SignerPKCS7.php └── tests ├── .configure-gost-openssl.sh ├── _bootstrap.php ├── _data ├── non_readable_file ├── server-gost.crt ├── server-gost.key ├── server.crt ├── server.csr └── server.key ├── _support ├── Helper │ └── Unit.php ├── UnitTester.php └── _generated │ └── UnitTesterActions.php ├── unit.suite.yml └── unit ├── ConfigTest.php ├── Http └── GuzzleHttpClientTest.php ├── OpenIdCliOpensslTest.php ├── OpenIdTest.php ├── Signer └── SignerPKCS7Test.php └── _bootstrap.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/_config.yml -------------------------------------------------------------------------------- /codeception.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/codeception.yml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/composer.lock -------------------------------------------------------------------------------- /src/Esia/Config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Config.php -------------------------------------------------------------------------------- /src/Esia/Exceptions/AbstractEsiaException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Exceptions/AbstractEsiaException.php -------------------------------------------------------------------------------- /src/Esia/Exceptions/ForbiddenException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Exceptions/ForbiddenException.php -------------------------------------------------------------------------------- /src/Esia/Exceptions/InvalidConfigurationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Exceptions/InvalidConfigurationException.php -------------------------------------------------------------------------------- /src/Esia/Exceptions/RequestFailException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Exceptions/RequestFailException.php -------------------------------------------------------------------------------- /src/Esia/Http/Exceptions/HttpException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Http/Exceptions/HttpException.php -------------------------------------------------------------------------------- /src/Esia/Http/GuzzleHttpClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Http/GuzzleHttpClient.php -------------------------------------------------------------------------------- /src/Esia/OpenId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/OpenId.php -------------------------------------------------------------------------------- /src/Esia/Signer/AbstractSignerPKCS7.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Signer/AbstractSignerPKCS7.php -------------------------------------------------------------------------------- /src/Esia/Signer/CliSignerPKCS7.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Signer/CliSignerPKCS7.php -------------------------------------------------------------------------------- /src/Esia/Signer/Exceptions/CannotGenerateRandomIntException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Signer/Exceptions/CannotGenerateRandomIntException.php -------------------------------------------------------------------------------- /src/Esia/Signer/Exceptions/CannotReadCertificateException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Signer/Exceptions/CannotReadCertificateException.php -------------------------------------------------------------------------------- /src/Esia/Signer/Exceptions/CannotReadPrivateKeyException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Signer/Exceptions/CannotReadPrivateKeyException.php -------------------------------------------------------------------------------- /src/Esia/Signer/Exceptions/NoSuchCertificateFileException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Signer/Exceptions/NoSuchCertificateFileException.php -------------------------------------------------------------------------------- /src/Esia/Signer/Exceptions/NoSuchKeyFileException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Signer/Exceptions/NoSuchKeyFileException.php -------------------------------------------------------------------------------- /src/Esia/Signer/Exceptions/NoSuchTmpDirException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Signer/Exceptions/NoSuchTmpDirException.php -------------------------------------------------------------------------------- /src/Esia/Signer/Exceptions/SignFailException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Signer/Exceptions/SignFailException.php -------------------------------------------------------------------------------- /src/Esia/Signer/SignerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Signer/SignerInterface.php -------------------------------------------------------------------------------- /src/Esia/Signer/SignerPKCS7.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/src/Esia/Signer/SignerPKCS7.php -------------------------------------------------------------------------------- /tests/.configure-gost-openssl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/.configure-gost-openssl.sh -------------------------------------------------------------------------------- /tests/_bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/_bootstrap.php -------------------------------------------------------------------------------- /tests/_data/non_readable_file: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/_data/server-gost.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/_data/server-gost.crt -------------------------------------------------------------------------------- /tests/_data/server-gost.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/_data/server-gost.key -------------------------------------------------------------------------------- /tests/_data/server.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/_data/server.crt -------------------------------------------------------------------------------- /tests/_data/server.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/_data/server.csr -------------------------------------------------------------------------------- /tests/_data/server.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/_data/server.key -------------------------------------------------------------------------------- /tests/_support/Helper/Unit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/_support/Helper/Unit.php -------------------------------------------------------------------------------- /tests/_support/UnitTester.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/_support/UnitTester.php -------------------------------------------------------------------------------- /tests/_support/_generated/UnitTesterActions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/_support/_generated/UnitTesterActions.php -------------------------------------------------------------------------------- /tests/unit.suite.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/unit.suite.yml -------------------------------------------------------------------------------- /tests/unit/ConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/unit/ConfigTest.php -------------------------------------------------------------------------------- /tests/unit/Http/GuzzleHttpClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/unit/Http/GuzzleHttpClientTest.php -------------------------------------------------------------------------------- /tests/unit/OpenIdCliOpensslTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/unit/OpenIdCliOpensslTest.php -------------------------------------------------------------------------------- /tests/unit/OpenIdTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/unit/OpenIdTest.php -------------------------------------------------------------------------------- /tests/unit/Signer/SignerPKCS7Test.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/unit/Signer/SignerPKCS7Test.php -------------------------------------------------------------------------------- /tests/unit/_bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fr05t1k/esia/HEAD/tests/unit/_bootstrap.php --------------------------------------------------------------------------------