Patent ID: 7581115

Claim:
An information processing method for decrypting encrypted encoded image data comprising steps of: receiving the encrypted encoded image data and corresponding header data, the header data including a first field storing information indicating whether the encoded image data has an error detecting code for detecting an error in the encoded image data, wherein the first field is referenced by a decoding process, and a second field storing information indicating whether the encoded image data has the error detecting code for detecting the error in the encoded image data, wherein the second field is not referenced by the decoding process; determining, based on the information stored in the second field, whether the encrypted encoded image data includes an error-detecting code; determining whether key information required to decrypt the encrypted encoded image data is available; modifying the first field to store information indicating that the encrypted encoded image data includes the error detecting code, if the information stored in the second field indicates that the encrypted encoded image data includes the error detecting code and the key information is available, wherein, if the information stored in the second field does not indicate that the encrypted encoding image data includes the error detecting code and the key information is available, the first field is not modified, and wherein, if the key information is not available, the first field is not modified; decrypting the encrypted encoded image data to generate encoded image data, if the information stored in the second field indicates that the encrypted encoded image data includes the error detecting code and the key information is available; and decrypting the encrypted encoded image data, if the information stored in the second field does not indicate that the encrypted encoding image data includes the error detecting code and the key information is available, wherein, if the key information is not available, the encrypted encoded image data is not decrypted performing all of the above steps using at least one processor.