2017 © Pedro Peláez
 

library x509-verify

Check if one X.509 certificate is the signer of another

image

hrobertson/x509-verify

Check if one X.509 certificate is the signer of another

  • Friday, March 16, 2018
  • by hrobertson
  • Repository
  • 1 Watchers
  • 0 Stars
  • 67 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 179 % Grown

The README.md

Determine if an X.509 certificate is the signer of another., (*1)

This is based on and uses parts of Mike Green's script from https://web.archive.org/web/20181211085459/http://badpenguins.com/source/misc/isCertSigner.php?viewSource, (*2)

Requirements

PHP 7.0 or PHP 5.6, (*3)

Installation

The preferred way to install this library is via [Composer][1]:, (*4)

$ composer require hrobertson/x509-verify

Usage

use HRobertson\X509Verify\SslCertificate;

$leafCertificate = new SslCertificate(file_get_contents('example.com.pem'));
$issuerCertificate = new SslCertificate(file_get_contents('intermediate.pem'));

$leafCertificate->isSignedBy($issuerCertificate); // returns true if $leafCertificate is signed by $issuerCertificate

Licence

As stipulated by Mike Green, the author of the original script, this software is licenced under the GPLv2. Please see License File for more information., (*5)

The Versions

16/03 2018

dev-develop

dev-develop https://github.com/hrobertson/php-x509-verify

Check if one X.509 certificate is the signer of another

  Sources   Download

GPL-2.0-only

The Requires

  • php ^5.6 || ^7.1
  • ext-openssl *

 

The Development Requires

x509 ssl certificate certificate-chain

16/03 2018

dev-master

9999999-dev https://github.com/hrobertson/php-x509-verify

Check if one X.509 certificate is the signer of another

  Sources   Download

The Requires

  • php ^5.6 || ^7.1
  • ext-openssl *

 

The Development Requires

x509 ssl certificate certificate-chain

16/03 2018

v1.0.0

1.0.0.0 https://github.com/hrobertson/php-x509-verify

Check if one X.509 certificate is the signer of another

  Sources   Download

The Requires

  • php ^5.6 || ^7.1
  • ext-openssl *

 

The Development Requires

x509 ssl certificate certificate-chain