X509: add getCurrentCert method (since $currentCert is now private)

This commit is contained in:
terrafrost 2021-02-10 08:26:58 -06:00
parent 3bddf4d962
commit 052cb7d762

View File

@ -2107,6 +2107,17 @@ class X509
return $chain;
}
/**
* Returns the current cert
*
* @access public
* @return array|bool
*/
public function &getCurrentCert()
{
return $this->currentCert;
}
/**
* Set public key
*