Skip to content
/ CMS Public

A PHP Library that allows you to decode ASN.1 CMS using Basic Encoding Rules (BER)

License

Notifications You must be signed in to change notification settings

adapik/CMS

Repository files navigation

CMS

A PHP Library that allows you to decode ASN.1 CMS using Basic Encoding Rules (BER)

Coverage Status

Latest Stable Version Total Downloads Latest Unstable Version License

Install

composer require adapik/cms

About

This package allow to convert common cryptographic structures from binary ASN.1 format to PHP Objects.

  • CMS (according to RFC3852)
  • CAdES (according to RFC5126)
  • x.509 Certificates, CRLs (according to RFC 5280)
  • etc.

This is a pure PHP library and does not require any cryptographic extensions (like ext-openssl) to be installed.

You can find examples, how to use this library here

How to extend

You can create your own Map (see examples under Adapik\CMS\Maps namespace) and Object (see examples under Adapik\CMS namespace) and decode any ASN.1 structure.

What this package is not

It's not a tool to create or validate CMS or CAdES, but you can build your own tool, using objects from this library.

About

A PHP Library that allows you to decode ASN.1 CMS using Basic Encoding Rules (BER)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages