By distinguishing a public encryption key for each medium, the case where there are a plurality of types of memory cards as well as the general case where there is a medium other than a memory card as an option in the system can be accommodated, as will be apparent from the description set forth below.