namespace BinaryObjectScanner.Models.N3DS { /// /// CIA stands for CTR Importable Archive. This format allows the installation of /// titles to the 3DS. CIA files and titles on Nintendo's CDN contain identical data. /// As a consequence, valid CIA files can be generated from CDN content. This also /// means CIA files can contain anything that titles on Nintendo's CDN can contain. /// /// Under normal circumstances CIA files are used where downloading a title is /// impractical or not possible. Such as distributing a Download Play child, or /// installing forced Gamecard updates. Those CIA(s) are stored by the titles in /// question, in an auxiliary CFA file. /// /// public class CIA { /// /// CIA header /// public CIAHeader Header { get; set; } /// /// Certificate chain /// /// /// https://www.3dbrew.org/wiki/CIA#Certificate_Chain /// public Certificate[] CertificateChain { get; set; } /// /// Ticket /// public Ticket Ticket { get; set; } /// /// TMD file data /// public TitleMetadata TMDFileData { get; set; } /// /// Content file data /// public NCCHHeader[] Partitions { get; set; } /// /// Content file data /// /// TODO: Parse the content file data public byte[] ContentFileData { get; set; } /// /// Meta file data (Not a necessary component) /// public MetaData MetaData { get; set; } } }