X509.php
Pure-PHP X.509 Parser
PHP version 5
Encode and decode X.509 certificates.
The extensions are from RFC5280 and Netscape Certificate Extensions.
Note that loading an X.509 certificate and resaving it may invalidate the signature. The reason being that the signature is based on a portion of the certificate that contains optional parameters with default values. ie. if the parameter isn't there the default value is used. Problem is, if the parameter is there and it just so happens to have the default value there are two ways that that parameter can be encoded. It can be encoded explicitly or left out all together. This would effect the signature value and thus may invalidate the the certificate all together unless the certificate is re-signed.
Tags
Table of Contents
Classes
- X509
- Pure-PHP X.509 Parser