function setRevokedCertificateExtension($serial, $id, $value, $critical = false, $replace = true)
    {
        if (isset($this->currentCert['tbsCertList'])) {
            if (is_array($rclist = &$this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates', true))) {
                if (($i = $this->_revokedCertificate($rclist, $serial, true)) !== false) {
                    return $this->_setExtension($id, $value, $critical, $replace, "tbsCertList/revokedCertificates/$i/crlEntryExtensions");
                }
            }
        }

        return false;
    }
function setRevokedCertificateExtension($serial, $id, $value, $critical = false, $replace = true)
    {
        if (isset($this->currentCert['tbsCertList'])) {
            if (is_array($rclist = &$this->_subArray($this->currentCert, 'tbsCertList/revokedCertificates', true))) {
                if (($i = $this->_revokedCertificate($rclist, $serial, true)) !== false) {
                    return $this->_setExtension($id, $value, $critical, $replace, "tbsCertList/revokedCertificates/$i/crlEntryExtensions");
                }
            }
        }

        return false;
    }
function setRevokedCertificateExtension ( $ serial , $ id , $ value , $ critical = false , $ replace = true ) { if ( isset ( $ this -> currentCert [ 'tbsCertList' ] ) ) { if ( is_array ( $ rclist = & $ this -> _subArray ( $ this -> currentCert , 'tbsCertList/revokedCertificates' , true ) ) ) { if ( ( $ i = $ this -> _revokedCertificate ( $ rclist , $ serial , true ) ) !== false ) { return $ this -> _setExtension ( $ id , $ value , $ critical , $ replace , "tbsCertList/revokedCertificates/$i/crlEntryExtensions" ) ; } } } return false ; }
Set a Revoked Certificate Extension

@param string $serial
@param string $id
@param mixed $value
@param bool $critical optional
@param bool $replace optional
@access public
@return bool
Set a Revoked Certificate Extension