An information processing apparatus includes an application that encrypts
document data using a public key of a spooler and stores the document
data encrypted as a spool file. A printer driver decrypts the encrypted
document data using a secret key of the spooler and performs rendering to
generate print data. Subsequently, the application decrypts the print
data using the public key of the printing apparatus. The printing
apparatus decrypts the encrypted print data using the secret key of its
own.