Open Bug 723146 Opened 12 years ago Updated 2 years ago

Make nsCheckSummedxxxStream usable for outside consumers

Categories

(Core :: Networking: File, defect, P5)

defect

Tracking

()

People

(Reporter: gcp, Unassigned)

Details

(Whiteboard: [necko-would-take])

Bug 673470 introduces nsCheckSummedOutputStream for file integrity checking. Might be useful for other parts of Firefox and there are some obvious improvements that can be made:

a) Make it wrap nsSafeOutputStream instead of deriving from it. Would allow it to avoid peeking into nsSafeOutputStream.
b) Add nsCheckSummedInputStream, combining nsBufferedInputStream (to avoid reading a checksummed file twice) and checksum verification.
c) Give it an IDL, IID and contractid once it's cleaned up.
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.