Awesome Open Source
Awesome Open Source
Sponsorship

X.509

Build Status Scrutinizer Code Quality Coverage Status License

A PHP library for X.509 public key certificates, attribute certificates, certification requests and certification path validation.

Introduction

This library provides a pure PHP implementation of X.509 certificates. The class hierarchy adapts to the ASN.1 types, which makes it easy to use corresponding RFC's as a reference documentation.

Features

  • X.509 certificates (RFC 5280)
    • Certificate decoding and encoding
    • Certificate signing
  • Certification requests (PKCS #10)
    • CSR decoding and encoding
  • Certification path
    • Path building
    • Path validation
  • Attribute certificates (RFC 5755)
    • AC decoding and encoding
    • AC signing

Requirements

Installation

This library is available on Packagist.

composer require sop/x509

Code examples

Examples are located in /examples directory.

License

This project is licensed under the MIT License.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
php (15,569
parser (461
encoding (93
decoding (54
x509 (30
certificates (27

Find Open Source By Browsing 7,000 Topics Across 59 Categories