Lines Matching refs:cert
40 private $cert; variable in X509Certificate
77 if ($this->cert !== null && $this->cert !== false) {
78 openssl_x509_free($this->cert);
125 if ($this->cert === null || $this->cert === false) {
126 $this->cert = openssl_x509_read($this->encodePEM());
130 $this->pkey = openssl_pkey_get_public($this->cert);
145 if ($this->cert === null || $this->cert === false) {
146 $this->cert = openssl_x509_read($this->encodePEM());
150 $this->data = openssl_x509_parse($this->cert);
166 if ($this->cert === null || $this->cert === false) {
167 $this->cert = openssl_x509_read($this->encodePEM());
171 $this->pkey = openssl_pkey_get_public($this->cert);
190 if ($this->cert === null || $this->cert === false) {
191 $this->cert = openssl_x509_parse($this->encodePEM());
198 foreach ($chain as $cert) {
199 GTUtil::write($untrustedFile, GTUtil::toByteArray($cert->encodePEM()));
218 … $result = openssl_x509_checkpurpose($this->cert, $purpose, $cainfo, $untrustedFile) === true;