X509_new(); return new X509($ffi, $x509); } public function freeObject() { $this->ffi->X509_free($this->cObj); } }