PHP Classes
elePHPant
Icontem

sapient: Add a security layer to server to server requests

Recommend this page to a friend!
  Info   View files Example   View files View files (48)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-07-02 (9 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 49 This week: 43All time: 8,894 This week: 7Up
Version License PHP version Categories
sapient 1.0.0MIT/X Consortium ...7HTTP, Cryptography, Libraries, Security, P..., P...
Description Author

This package add a security layer to server to server requests.

It can work with both Request and Response PSR-7 compliant objects by implementing security features like:

- Works with both Request and Response objects (PSR-7)
- Shared-key encryption
- Shared-key authentication
- Anonymous public-key encryption
- Public-key digital signatures
- Sends and receives signed or encrypted JSON
- Digital signatures and authentication are backwards-compatible with unsigned JSON API clients and servers
- The signaure and authentication tag will go into HTTP headers, rather than the request and response body
- Etc.

  Performance   Level  
Name: Scott Arciszewski <contact>
Classes: 6 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 3x

Details

Sapient Documentation

To get started using Sapient, see the tutorial.

To learn more about building a Sapient-compatible library in another language, read the Sapient specification.

To learn more about each class, read through the Internals documentation:

  Files folder image Files  
File Role Description
Files folder imagedocs (3 files, 1 directory)
Files folder imagesrc (3 files, 4 directories)
Files folder imagetests (5 files, 1 directory)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit-autoload.php Aux. Auxiliary script
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file psalm.xml Data Auxiliary data
Accessible without login Plain text file README.md Example Example script

  Files folder image Files  /  docs  
File Role Description
Files folder imageInternals (4 files, 2 directories)
  Accessible without login Plain text file README.md Doc. Documentation
  Accessible without login Plain text file Specification.md Data Auxiliary data
  Accessible without login Plain text file Tutorial.md Data Auxiliary data

  Files folder image Files  /  docs  /  Internals  
File Role Description
Files folder imageAdapter (3 files, 1 directory)
Files folder imageTraits (3 files)
  Accessible without login Plain text file CryptographyKey.md Data Auxiliary data
  Accessible without login Plain text file README.md Doc. Documentation
  Accessible without login Plain text file Sapient.md Data Auxiliary data
  Accessible without login Plain text file Simple.md Data Auxiliary data

  Files folder image Files  /  docs  /  Internals  /  Adapter  
File Role Description
Files folder imageGeneric (3 files)
  Accessible without login Plain text file AdapterInterface.md Data Auxiliary data
  Accessible without login Plain text file ConvenienceInterface.md Data Auxiliary data
  Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  docs  /  Internals  /  Adapter  /  Generic  
File Role Description
  Accessible without login Plain text file Adapter.md Data Auxiliary data
  Accessible without login Plain text file README.md Doc. Documentation
  Accessible without login Plain text file Stream.md Data Auxiliary data

  Files folder image Files  /  docs  /  Internals  /  Traits  
File Role Description
  Accessible without login Plain text file JsonSugar.md Data Auxiliary data
  Accessible without login Plain text file README.md Doc. Documentation
  Accessible without login Plain text file StringSugar.md Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageAdapter (3 files, 1 directory)
Files folder imageCryptographyKeys (6 files)
Files folder imageException (2 files)
Files folder imageTraits (2 files)
  Accessible without login Plain text file CryptographyKey.php Class Class source
  Accessible without login Plain text file Sapient.php Class Class source
  Accessible without login Plain text file Simple.php Class Class source

  Files folder image Files  /  src  /  Adapter  
File Role Description
Files folder imageGeneric (2 files)
  Accessible without login Plain text file AdapterInterface.php Class Class source
  Accessible without login Plain text file ConvenienceInterface.php Class Class source
  Accessible without login Plain text file Guzzle.php Class Class source

  Files folder image Files  /  src  /  Adapter  /  Generic  
File Role Description
  Accessible without login Plain text file Adapter.php Class Class source
  Accessible without login Plain text file Stream.php Class Class source

  Files folder image Files  /  src  /  CryptographyKeys  
File Role Description
  Accessible without login Plain text file SealingPublicKey.php Class Class source
  Accessible without login Plain text file SealingSecretKey.php Class Class source
  Accessible without login Plain text file SharedAuthenticationKey.php Class Class source
  Accessible without login Plain text file SharedEncryptionKey.php Class Class source
  Accessible without login Plain text file SigningPublicKey.php Class Class source
  Accessible without login Plain text file SigningSecretKey.php Class Class source

  Files folder image Files  /  src  /  Exception  
File Role Description
  Accessible without login Plain text file HeaderMissingException.php Class Class source
  Accessible without login Plain text file InvalidMessageException.php Class Class source

  Files folder image Files  /  src  /  Traits  
File Role Description
  Accessible without login Plain text file JsonSugar.php Class Class source
  Accessible without login Plain text file StringSugar.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageAdapter (2 files)
  Accessible without login Plain text file KeyExchangeTest.php Class Class source
  Accessible without login Plain text file SapientSealTest.php Class Class source
  Accessible without login Plain text file SapientSignTest.php Class Class source
  Accessible without login Plain text file SapientSymmetricTest.php Class Class source
  Accessible without login Plain text file SimpleTest.php Class Class source

  Files folder image Files  /  tests  /  Adapter  
File Role Description
  Accessible without login Plain text file GenericTest.php Class Class source
  Accessible without login Plain text file GuzzleTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:49
This week:43
All time:8,894
This week:7Up