When a .cia file is installed on a 3DS, the console checks the file's digital signature to ensure it's authentic and hasn't been tampered with. If the signature is valid, the 3DS installs the game or content contained within the .cia file.