Oh, no. You are now computing sha256 always? This is not good. It should be on demand. Fingerprint is cheap to compute so they can implement it like that. But checksum should be more implemented like [getData](https://github.com/mozilla/pdf.js/blob/master/src/display/api.js#L313).