function getEncryption() {
        if (isset($this->xref['trailer'][1]['/Encrypt'])) {
	 	// mPDF 4.0
           	$this->success = false;
            $this->errormsg = sprintf("File is encrypted!");
		return false;
        }
    }
function getEncryption() {
        if (isset($this->xref['trailer'][1]['/Encrypt'])) {
	 	// mPDF 4.0
           	$this->success = false;
            $this->errormsg = sprintf("File is encrypted!");
		return false;
        }
    }
function getEncryption ( ) { if ( isset ( $ this -> xref [ 'trailer' ] [ 1 ] [ '/Encrypt' ] ) ) { // mPDF 4.0 $ this -> success = false ; $ this -> errormsg = sprintf ( "File is encrypted!" ) ; return false ; } }
Check Trailer for Encryption
Check Trailer for Encryption