(PHP 4 >= 4.0.6, PHP 5)
openssl_x509_read — Parse an X.509 certificate and return a resource identifier for it
   openssl_x509_read() parses the certificate supplied by
   x509certdata and returns a resource identifier for
   it.
  
x509certdata
   Returns a resource identifier on success or FALSE on failure.