darkwebdesign/public-key-cryptography-bundle

Public Key Cryptography Bundle

v1.3.0 2021-05-26 20:48 UTC

This package is auto-updated.

Last update: 2024-04-22 13:48:51 UTC


README

Latest Stable Version Total Downloads License

Build Status Coverage Status PHP Version Symfony Version

Public Key Cryptography Bundle is a collection of public/private key cryptography components that you can use in your Symfony applications.

Learn more about it in its documentation.

Features

Creation

  • Creates keystore from public/private keys.
  • Creates PEM from public/private keys.

Extraction

  • Extracts public/private keys from keystore/PEM.
  • Extracts PEM from keystore and vice versa.

Analysis

  • Checks format (PEM/DER) of public/private keys
  • Checks subject, issuer, notBefore and notAfter properties from keystore/PEM/public key.
  • Checks whether keystore/PEM/private key contains a passphrase.

Conversion

  • Converts public/private key format (PEM/DER).

Pass phrase management

  • Adds/removes passphrase from PEM/private key.
  • Changes passphrase of keystore/PEM/private key.

Dependencies

  • openssl shell command

License

Public Key Cryptography Bundle is licensed under the MIT License - see the LICENSE file for details.