{"id":3254,"date":"2014-10-06T10:48:55","date_gmt":"2014-10-06T08:48:55","guid":{"rendered":"https:\/\/badgemaker.info\/?page_id=3254"},"modified":"2016-05-17T11:20:27","modified_gmt":"2016-05-17T09:20:27","slug":"2-3-creating-mifare-desfire-template-using-cci-editor","status":"publish","type":"page","link":"https:\/\/badgemaker.info\/en\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/","title":{"rendered":"3. Creating a MIFARE DESfire Template using the CCI Editor"},"content":{"rendered":"<strong>3. Creating a MIFARE DESfire Template using the CCI Editor<\/strong><\/p>\n<p>DESfire cards take an entirely different approach to encoding compared to MIFARE Classic or Plus cards. With DESFire, you are able to define Applications and Files that contain information, each with specific access settings. Similar to MIFARE Classic, launch the CCI Editor, which will open to a blank window. Choose \u201c<span style=\"color: #99cc00;\">File<\/span>\u201d \u2192 \u201c<span style=\"color: #99cc00;\">New<\/span>\u201d \u2192 \u201c<span style=\"color: #99cc00;\">DESFire<\/span>\u201d.<\/p>\n<p>The Card settings panel will allow you to define general rules for your encoding template. A DESFire card features a Card master key that can be used to re-encode or erase the card at any time. All keys for DESFire cards can be encoded using 3DES, 3K3DES or AES encrypted keys. A key can be either generated or entered manually.<\/p>\n<p>The other options for the Card settings dialog are self-explanatory, but must be decided with caution as they will impact how flexible the card can be used after being encoded. In addition to the default DESFire features, Reset keys are implemented that allow for cards to be repurposed, by users even though the Card master key might not be available. Distributing the Card master key might not be desirable because of possible security liabilities. Multiple Reset keys can be created to supply to different vendors.<\/p>\n<p><a href=\"https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_01.png\"><img decoding=\"async\" class=\"alignnone  wp-image-3255\" alt=\"BM_Encode_DESfire_01\" src=\"https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_01.png\" width=\"80%\" srcset=\"https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_01.png 909w, https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_01-267x300.png 267w, https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_01-768x862.png 768w\" sizes=\"(max-width: 909px) 100vw, 909px\" \/><\/a><\/p>\n<p>Once Card settings have been defined, an Application can be created by choosing \u201c<span style=\"color: #99cc00;\">Add application<\/span>\u201d on the bottom left of the screen. Doing so will automatically create an application titled \u201c<span style=\"color: #99cc00;\">000001<\/span>\u201d. On the right side of the screen, information can be entered to define the Application such as a Description, an ID (Hexadecimal value) and the Encryption type. For each applications, settings are available that define future use of the application such as allowing the Master key to be changed or Authentication settings for accessing the data in the Application. Each Application can have up to 10 keys that can be distributed to vendors for use of the Application.<\/p>\n<p>Once finished, choose \u201cAdd file\u201d to create a file named \u201c<span style=\"color: #99cc00;\">File 0<\/span>\u201d for the currently selected Application. Each file will contain a Description and a File number. Communication mode determines the way in which the File is allowed to exchange data. It is highly recommended to use the Encrypted setting, as the Plain (unencrypted) mode should only be used for data that does not contain sensitive information.<\/p>\n<p>All DESFire File types are supported to accommodate integration with access control or payment systems that support the DESFire standard. For general purposes, select the \u201c<span style=\"color: #99cc00;\">Standard data file<\/span>\u201d from the dropdown list.<\/p>\n<p>Each file has individual settings for Read, Write and Read\/Write access, as well as an access rule for changing these settings after encoding the card.<\/p>\n<p>Standard file types require you to set the total file size. Keep in mind that this has to be equal to or greater than the total amount of bytes that are used by your File data. In our example, the total amount of data used is 42 bytes, but the file is given 64 bytes instead.<\/p>\n<p><a href=\"https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_02.png\"><img decoding=\"async\" class=\"alignnone  wp-image-3259\" alt=\"BM_Encode_DESfire_02\" src=\"https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_02.png\" width=\"80%\" srcset=\"https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_02.png 909w, https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_02-267x300.png 267w, https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_02-768x862.png 768w\" sizes=\"(max-width: 909px) 100vw, 909px\" \/><\/a><\/p>\n<p>File data is added to the File in a similar fashion to defining MIFARE Classic or Plus templates. Select a data type from the dropdown box, and choose \u201c<span style=\"color: #99cc00;\">Add<\/span>\u201d to create a new data block. Define the data format and alignment, as well as the Field as this will be the identifier once the CCI file is linked to your BadgeMaker Identity project.<\/p>\n<p>Each DESFire template can contain a maximum of 32 Applications, and each Application can contain a maximum of 32 files.<\/p>\n<p>Once completed, the template can be either saved to a human-readable XML format, or a password-encrypted CCI format. Both can be used to encode cards in your BadgeMaker Identity project.","protected":false},"excerpt":{"rendered":"<p>3. Creating a MIFARE DESfire Template using the CCI Editor DESfire cards take an entirely different approach to encoding compared to MIFARE Classic or Plus cards. With DESFire, you are able to define Applications and Files that contain information, each with specific access settings. Similar to MIFARE Classic, launch the<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":3222,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"page-user-guide.php","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-3254","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creating a MIFARE DESfire template using the CCI Editor<\/title>\n<meta name=\"description\" content=\"Creating a MIFARE DESfire template using the CCI Editor - DESfire cards take an entirely different approach to encoding compared to MIFARE Classic or Plus cards. With DESFire, you are able to define Applications and Files that contain information, each with specific access settings.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a MIFARE DESfire template using the CCI Editor\" \/>\n<meta property=\"og:description\" content=\"Creating a MIFARE DESfire template using the CCI Editor - DESfire cards take an entirely different approach to encoding compared to MIFARE Classic or Plus cards. With DESFire, you are able to define Applications and Files that contain information, each with specific access settings.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/\" \/>\n<meta property=\"og:site_name\" content=\"BadgeMaker\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BadgeMakersoftware\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-05-17T09:20:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_01.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@BadgeMaker_\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/badgemaker.info\\\/userguide2\\\/add-ons\\\/badgemaker-encode\\\/2-cci-editor\\\/2-3-creating-mifare-desfire-template-using-cci-editor\\\/\",\"url\":\"https:\\\/\\\/badgemaker.info\\\/userguide2\\\/add-ons\\\/badgemaker-encode\\\/2-cci-editor\\\/2-3-creating-mifare-desfire-template-using-cci-editor\\\/\",\"name\":\"Creating a MIFARE DESfire template using the CCI Editor\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/badgemaker.info\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/badgemaker.info\\\/userguide2\\\/add-ons\\\/badgemaker-encode\\\/2-cci-editor\\\/2-3-creating-mifare-desfire-template-using-cci-editor\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/badgemaker.info\\\/userguide2\\\/add-ons\\\/badgemaker-encode\\\/2-cci-editor\\\/2-3-creating-mifare-desfire-template-using-cci-editor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/badgemaker.info\\\/wp-content\\\/uploads\\\/2014\\\/10\\\/BM_Encode_DESfire_01.png\",\"datePublished\":\"2014-10-06T08:48:55+00:00\",\"dateModified\":\"2016-05-17T09:20:27+00:00\",\"description\":\"Creating a MIFARE DESfire template using the CCI Editor - DESfire cards take an entirely different approach to encoding compared to MIFARE Classic or Plus cards. With DESFire, you are able to define Applications and Files that contain information, each with specific access settings.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/badgemaker.info\\\/userguide2\\\/add-ons\\\/badgemaker-encode\\\/2-cci-editor\\\/2-3-creating-mifare-desfire-template-using-cci-editor\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/badgemaker.info\\\/userguide2\\\/add-ons\\\/badgemaker-encode\\\/2-cci-editor\\\/2-3-creating-mifare-desfire-template-using-cci-editor\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/badgemaker.info\\\/userguide2\\\/add-ons\\\/badgemaker-encode\\\/2-cci-editor\\\/2-3-creating-mifare-desfire-template-using-cci-editor\\\/#primaryimage\",\"url\":\"https:\\\/\\\/badgemaker.info\\\/wp-content\\\/uploads\\\/2014\\\/10\\\/BM_Encode_DESfire_01.png\",\"contentUrl\":\"https:\\\/\\\/badgemaker.info\\\/wp-content\\\/uploads\\\/2014\\\/10\\\/BM_Encode_DESfire_01.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/badgemaker.info\\\/userguide2\\\/add-ons\\\/badgemaker-encode\\\/2-cci-editor\\\/2-3-creating-mifare-desfire-template-using-cci-editor\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/badgemaker.info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"BadgeMaker User Guide\",\"item\":\"https:\\\/\\\/badgemaker.info\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/BadgeMaker-UserGuide-V2.11.18-September-2025.pdf\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Add-Ons\",\"item\":\"https:\\\/\\\/badgemaker.info\\\/userguide2\\\/add-ons\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"BadgeMaker Encode\",\"item\":\"https:\\\/\\\/badgemaker.info\\\/userguide2\\\/add-ons\\\/badgemaker-encode\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"CCI Editor\",\"item\":\"https:\\\/\\\/badgemaker.info\\\/userguide2\\\/add-ons\\\/badgemaker-encode\\\/2-cci-editor\\\/\"},{\"@type\":\"ListItem\",\"position\":6,\"name\":\"3. Creating a MIFARE DESfire Template using the CCI Editor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/badgemaker.info\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/badgemaker.info\\\/en\\\/\",\"name\":\"BadgeMaker\",\"description\":\"ScreenCheck presents BadgeMaker ID software\",\"publisher\":{\"@id\":\"https:\\\/\\\/badgemaker.info\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/badgemaker.info\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/badgemaker.info\\\/en\\\/#organization\",\"name\":\"ScreenCheck\",\"url\":\"https:\\\/\\\/badgemaker.info\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/badgemaker.info\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"ScreenCheck\"},\"image\":{\"@id\":\"https:\\\/\\\/badgemaker.info\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/BadgeMakersoftware\\\/\",\"https:\\\/\\\/x.com\\\/BadgeMaker_\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/9493265\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCL1iI8MU-A2RbWyYGzpVRow\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a MIFARE DESfire template using the CCI Editor","description":"Creating a MIFARE DESfire template using the CCI Editor - DESfire cards take an entirely different approach to encoding compared to MIFARE Classic or Plus cards. With DESFire, you are able to define Applications and Files that contain information, each with specific access settings.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/","og_locale":"en_US","og_type":"article","og_title":"Creating a MIFARE DESfire template using the CCI Editor","og_description":"Creating a MIFARE DESfire template using the CCI Editor - DESfire cards take an entirely different approach to encoding compared to MIFARE Classic or Plus cards. With DESFire, you are able to define Applications and Files that contain information, each with specific access settings.","og_url":"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/","og_site_name":"BadgeMaker","article_publisher":"https:\/\/www.facebook.com\/BadgeMakersoftware\/","article_modified_time":"2016-05-17T09:20:27+00:00","og_image":[{"url":"https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_01.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@BadgeMaker_","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/","url":"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/","name":"Creating a MIFARE DESfire template using the CCI Editor","isPartOf":{"@id":"https:\/\/badgemaker.info\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/#primaryimage"},"image":{"@id":"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/#primaryimage"},"thumbnailUrl":"https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_01.png","datePublished":"2014-10-06T08:48:55+00:00","dateModified":"2016-05-17T09:20:27+00:00","description":"Creating a MIFARE DESfire template using the CCI Editor - DESfire cards take an entirely different approach to encoding compared to MIFARE Classic or Plus cards. With DESFire, you are able to define Applications and Files that contain information, each with specific access settings.","breadcrumb":{"@id":"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/#primaryimage","url":"https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_01.png","contentUrl":"https:\/\/badgemaker.info\/wp-content\/uploads\/2014\/10\/BM_Encode_DESfire_01.png"},{"@type":"BreadcrumbList","@id":"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/2-3-creating-mifare-desfire-template-using-cci-editor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/badgemaker.info\/"},{"@type":"ListItem","position":2,"name":"BadgeMaker User Guide","item":"https:\/\/badgemaker.info\/wp-content\/uploads\/2025\/09\/BadgeMaker-UserGuide-V2.11.18-September-2025.pdf"},{"@type":"ListItem","position":3,"name":"Add-Ons","item":"https:\/\/badgemaker.info\/userguide2\/add-ons\/"},{"@type":"ListItem","position":4,"name":"BadgeMaker Encode","item":"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/"},{"@type":"ListItem","position":5,"name":"CCI Editor","item":"https:\/\/badgemaker.info\/userguide2\/add-ons\/badgemaker-encode\/2-cci-editor\/"},{"@type":"ListItem","position":6,"name":"3. Creating a MIFARE DESfire Template using the CCI Editor"}]},{"@type":"WebSite","@id":"https:\/\/badgemaker.info\/en\/#website","url":"https:\/\/badgemaker.info\/en\/","name":"BadgeMaker","description":"ScreenCheck presents BadgeMaker ID software","publisher":{"@id":"https:\/\/badgemaker.info\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/badgemaker.info\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/badgemaker.info\/en\/#organization","name":"ScreenCheck","url":"https:\/\/badgemaker.info\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/badgemaker.info\/en\/#\/schema\/logo\/image\/","url":"","contentUrl":"","caption":"ScreenCheck"},"image":{"@id":"https:\/\/badgemaker.info\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/BadgeMakersoftware\/","https:\/\/x.com\/BadgeMaker_","https:\/\/www.linkedin.com\/showcase\/9493265\/","https:\/\/www.youtube.com\/channel\/UCL1iI8MU-A2RbWyYGzpVRow"]}]}},"_links":{"self":[{"href":"https:\/\/badgemaker.info\/en\/wp-json\/wp\/v2\/pages\/3254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/badgemaker.info\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/badgemaker.info\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/badgemaker.info\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/badgemaker.info\/en\/wp-json\/wp\/v2\/comments?post=3254"}],"version-history":[{"count":11,"href":"https:\/\/badgemaker.info\/en\/wp-json\/wp\/v2\/pages\/3254\/revisions"}],"predecessor-version":[{"id":4030,"href":"https:\/\/badgemaker.info\/en\/wp-json\/wp\/v2\/pages\/3254\/revisions\/4030"}],"up":[{"embeddable":true,"href":"https:\/\/badgemaker.info\/en\/wp-json\/wp\/v2\/pages\/3222"}],"wp:attachment":[{"href":"https:\/\/badgemaker.info\/en\/wp-json\/wp\/v2\/media?parent=3254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}