Only one of these is necessary (either checksum or signature). Figure out which makes the most sense before implementing this.