├── .github └── workflows │ ├── ci.yml │ └── psalm.yml ├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── docs ├── Internals │ ├── Adapter │ │ ├── AdapterInterface.md │ │ ├── ConvenienceInterface.md │ │ ├── Generic │ │ │ ├── Adapter.md │ │ │ ├── README.md │ │ │ └── Stream.md │ │ └── README.md │ ├── CryptographyKey.md │ ├── README.md │ ├── Sapient.md │ ├── Simple.md │ └── Traits │ │ ├── JsonSugar.md │ │ ├── README.md │ │ └── StringSugar.md ├── README.md ├── Specification.md └── Tutorial.md ├── phpunit-autoload.php ├── phpunit.xml.dist ├── psalm.xml ├── src ├── Adapter │ ├── AdapterInterface.php │ ├── ConvenienceInterface.php │ ├── Generic │ │ ├── Adapter.php │ │ └── Stream.php │ └── Guzzle.php ├── CryptographyKey.php ├── CryptographyKeys │ ├── SealingPublicKey.php │ ├── SealingSecretKey.php │ ├── SharedAuthenticationKey.php │ ├── SharedEncryptionKey.php │ ├── SigningPublicKey.php │ └── SigningSecretKey.php ├── Exception │ ├── HeaderMissingException.php │ └── InvalidMessageException.php ├── Sapient.php ├── Simple.php └── Traits │ ├── JsonSugar.php │ └── StringSugar.php └── tests ├── Adapter ├── GenericTest.php └── GuzzleTest.php ├── KeyExchangeTest.php ├── SapientAuthenticateTest.php ├── SapientSealTest.php ├── SapientSignTest.php ├── SapientSymmetricTest.php └── SimpleTest.php /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/psalm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/.github/workflows/psalm.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | vendor 3 | composer.lock 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/composer.json -------------------------------------------------------------------------------- /docs/Internals/Adapter/AdapterInterface.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/Adapter/AdapterInterface.md -------------------------------------------------------------------------------- /docs/Internals/Adapter/ConvenienceInterface.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/Adapter/ConvenienceInterface.md -------------------------------------------------------------------------------- /docs/Internals/Adapter/Generic/Adapter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/Adapter/Generic/Adapter.md -------------------------------------------------------------------------------- /docs/Internals/Adapter/Generic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/Adapter/Generic/README.md -------------------------------------------------------------------------------- /docs/Internals/Adapter/Generic/Stream.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/Adapter/Generic/Stream.md -------------------------------------------------------------------------------- /docs/Internals/Adapter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/Adapter/README.md -------------------------------------------------------------------------------- /docs/Internals/CryptographyKey.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/CryptographyKey.md -------------------------------------------------------------------------------- /docs/Internals/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/README.md -------------------------------------------------------------------------------- /docs/Internals/Sapient.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/Sapient.md -------------------------------------------------------------------------------- /docs/Internals/Simple.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/Simple.md -------------------------------------------------------------------------------- /docs/Internals/Traits/JsonSugar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/Traits/JsonSugar.md -------------------------------------------------------------------------------- /docs/Internals/Traits/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/Traits/README.md -------------------------------------------------------------------------------- /docs/Internals/Traits/StringSugar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Internals/Traits/StringSugar.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/Specification.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Specification.md -------------------------------------------------------------------------------- /docs/Tutorial.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paragonie/sapient/HEAD/docs/Tutorial.md -------------------------------------------------------------------------------- /phpunit-autoload.php: -------------------------------------------------------------------------------- 1 |