{"id":1194,"date":"2014-10-02T17:14:25","date_gmt":"2014-10-02T17:14:25","guid":{"rendered":"http:\/\/www.gmarwaha.com\/blog\/?p=1194"},"modified":"2014-11-03T13:03:31","modified_gmt":"2014-11-03T13:03:31","slug":"apple-pay-vs-google-wallet-the-secure-element","status":"publish","type":"post","link":"https:\/\/www.gmarwaha.com\/blog\/2014\/10\/02\/apple-pay-vs-google-wallet-the-secure-element\/","title":{"rendered":"Apple Pay vs Google Wallet : The Secure Element"},"content":{"rendered":"<div class=\"alert bluth grey\">Note: You can read all articles in this <a href=\"http:\/\/www.gmarwaha.com\/blog\/apple-pay-vs-google-wallet\/\">series<\/a> by visiting the <a href=\"http:\/\/www.gmarwaha.com\/blog\/apple-pay-vs-google-wallet\/\">Table of Contents<\/a><\/div>\n<p>Both <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/10\/17\/mobile-payments-what-is-google-wallet\/\">Google Wallet<\/a> and <a href=\"https:\/\/www.apple.com\/iphone-6\/apple-pay\/\">ApplePay<\/a> are trying to solve the same set of problems &#8211; mobile payments at the physical POS and inside apps. They have many\u00a0characteristics that are very similar, but they also differ in significant ways when it comes to implementation and user experience. In this series of blog posts, we will analyze a few\u00a0similarities and differences one by one. We will start by talking about the\u00a0<code>Secure Element<\/code> today.<\/p>\n<p>A <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/09\/01\/mobile-payments-what-is-a-secure-element\/\">Secure Element<\/a> (SE) securely stores card\/cardholder data and does cryptographic processing. During a payment transaction it emulates a <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/05\/11\/mobile-payments-what-is-a-contactless-chip-card\/\">contactless card<\/a> using industry standard protocols to help authorize a transaction. The Secure Element could either be embedded in the phone or embedded in your network operator\u2019s SIM card. We will generically refer to them as device-based Secure Element. More recently, with the introduction of <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/09\/20\/mobile-payments-what-is-hce\/\">HCE<\/a> technology by Google, the definition of Secure Element has been expanded to include a secure cloud as well. We will refer to them as cloud-based Secure Element.<\/p>\n<p>In the beginning, Google Wallet v1.0 started its journey by using the device-based Secure Element for <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/08\/07\/mobile-payments-what-is-nfc-card-emulation-mode\/\">card emulation<\/a>. This approach didn\u2019t work out well for Google as most of the major network operators (Verizon, AT&amp;T and T-Mobile) decided to support their own brand of wallet called <a href=\"http:\/\/gosoftcard.com\/\">Softcard<\/a> (previously <a href=\"https:\/\/www.paywithisis.com\/\">Isis<\/a>) and blocked access to the <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/09\/01\/mobile-payments-what-is-a-secure-element\/\">Secure Element<\/a> for any other wallet providers. Google had no choice but to move on.<\/p>\n<p style=\"text-align: center;\"><a class=\"lightbox\" href=\"http:\/\/www.gmarwaha.com\/blog\/wp-content\/uploads\/2014\/09\/se-hce-dual-ce.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1112 aligncenter\" src=\"http:\/\/www.gmarwaha.com\/blog\/wp-content\/uploads\/2014\/09\/se-hce-dual-ce.png\" alt=\"se-hce-dual-ce\" width=\"367\" height=\"301\" srcset=\"https:\/\/www.gmarwaha.com\/blog\/wp-content\/uploads\/2014\/09\/se-hce-dual-ce.png 367w, https:\/\/www.gmarwaha.com\/blog\/wp-content\/uploads\/2014\/09\/se-hce-dual-ce-300x246.png 300w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/a><\/p>\n<p>Today, Google wallet v3.0 does not use a device-based Secure Element. It uses a technology called <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/09\/20\/mobile-payments-what-is-hce\/\">Host-based card emulation<\/a> (HCE) instead, where <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/08\/07\/mobile-payments-what-is-nfc-card-emulation-mode\/\">card-emulation<\/a> and the Secure Element are separated into different areas. For example, in HCE mode, when an <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/08\/03\/mobile-payments-what-is-nfc\/\">NFC<\/a> enabled Android phone is tapped against a contactless terminal, the NFC controller inside the phone redirects communication from the terminal to the host operating system. Google wallet picks up the request from the host operating system and responds to the communication with a virtual card number and uses\u00a0industry standard contactless protocols to complete\u00a0the transaction. This is the <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/08\/07\/mobile-payments-what-is-nfc-card-emulation-mode\/\">card-emulation<\/a> part. The transaction proceeds and reaches the Google cloud servers where the virtual card number is replaced with real card data and authorized with the real Issuer. Since the real card data is securely stored in Google&#8217;s cloud servers, the cloud represents the <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/09\/01\/mobile-payments-what-is-a-secure-element\/\">Secure Element<\/a> part. In general, this approach is considered less secure compared to the embedded SE approach. But there are some areas (like Lost &amp; Stolen use-case) where it is more secure. We will discuss that in a different post.<\/p>\n<p><span class=\"label label-info\">NOTE:<\/span> This doesn\u2019t mean that Android operating system does not support device-based Secure element anymore. In fact it supports both device-based Secure Element and HCE using a routing table at the NFC controller level.<\/p>\n<p><a href=\"https:\/\/www.apple.com\/iphone-6\/apple-pay\/\">ApplePay<\/a>, in contrast, works using traditional device-based Secure Element. It does not use HCE technology. Consequently, Apple does not store the real card or token data in their cloud servers at all. The on-device Secure Element essentially performs <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/08\/07\/mobile-payments-what-is-nfc-card-emulation-mode\/\">card-emulation<\/a> in addition to secure storage. It sends payment data to the contactless terminal when you <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/05\/11\/mobile-payments-what-is-tap-pay\/\">Tap &amp; Pay<\/a>. I have attempted to <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/09\/24\/apple-pay-an-attempt-to-demystify\/\">demystify how ApplePay works<\/a> in one of my previous posts.\u00a0In many ways it is similar to how Google Wallet v1.0 used to work (with some important differences).<\/p>\n<p style=\"text-align: center;\"><a class=\"lightbox\" href=\"http:\/\/www.gmarwaha.com\/blog\/wp-content\/uploads\/2014\/10\/se-ce-iphone.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1202 size-full\" src=\"http:\/\/www.gmarwaha.com\/blog\/wp-content\/uploads\/2014\/10\/se-ce-iphone.png\" alt=\"se-ce-iphone\" width=\"334\" height=\"301\" srcset=\"https:\/\/www.gmarwaha.com\/blog\/wp-content\/uploads\/2014\/10\/se-ce-iphone.png 334w, https:\/\/www.gmarwaha.com\/blog\/wp-content\/uploads\/2014\/10\/se-ce-iphone-300x270.png 300w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><\/a><\/p>\n<p>First, ApplePay does not store the real card data inside the SE. This is in direct contrast to Google Wallet 1.0 and Softcard. Instead, they store a token that conforms to <a href=\"http:\/\/www.emvco.com\/\">EMVCo<\/a> <a href=\"http:\/\/www.emvco.com\/specifications.aspx?id=263\">tokenization<\/a> specification. It is this token (along with a cryptogram) that gets sent to the contactless terminal. During the authorization flow, the <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/03\/21\/mobile-payments-who-is-a-payment-network\/\">card network<\/a> identifies the token, de-tokenizes them into real PAN with the help of a Token Service Provider (TSP) and sends the real PAN over to <a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/02\/05\/mobile-payments-who-is-an-issuer\/\">Issuer<\/a> for authorization.<\/p>\n<p>Second, Apple owns and controls the Secure Element embedded inside the device thereby avoiding unnecessary challenges from the MNOs.<\/p>\n<p>Finally, Apple significantly simplified the provisioning model. If they had to provision the real card details, they would have to depend on a complex and convoluted process. Fortunately, they provision a token instead and took the opportunity to simplify the process to a bare minimum.<\/p>\n<p>In the next post, we will discuss how these two services differ\u00a0when the device is lost or stolen.<\/p>\n<h4>Related Reading:<\/h4>\n<ul>\n<li><a href=\"http:\/\/www.gmarwaha.com\/blog\/apple-pay-vs-google-wallet\/\">Apple Pay vs Google Wallet &#8211; Article Series<\/a><\/li>\n<li><a href=\"http:\/\/www.gmarwaha.com\/blog\/mobile-payments-faq\/\">Mobile Payments FAQ<\/a><\/li>\n<li><a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/09\/24\/apple-pay-an-attempt-to-demystify\/\">Apple Pay &#8211; An attempt to demystify<\/a><\/li>\n<li><a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/10\/17\/mobile-payments-what-is-google-wallet\/\">What is Google Wallet?<\/a><\/li>\n<li><a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/10\/20\/mobile-payments-what-is-apple-pay\/\">What is Apple Pay?<\/a><\/li>\n<li><a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/08\/03\/mobile-payments-what-is-nfc\/\">What is NFC?<\/a><\/li>\n<li><a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/08\/07\/mobile-payments-what-is-nfc-card-emulation-mode\/\">What is NFC Card Emulation Mode?<\/a><\/li>\n<li><a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/09\/01\/mobile-payments-what-is-a-secure-element\/\">What is a Secure Element?<\/a><\/li>\n<li><a href=\"http:\/\/www.gmarwaha.com\/blog\/2014\/09\/20\/mobile-payments-what-is-hce\/\">What is HCE?<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Note: You can read all articles in this series by visiting the Table of Contents Both Google Wallet and ApplePay are trying to solve the same set of problems &#8211; mobile payments at the physical POS and inside apps. They have many\u00a0characteristics that are very similar, but they also differ in significant ways when it comes to implementation and user experience. In this series of blog posts, we will analyze a few\u00a0similarities and differences one by one. We will start by talking about the\u00a0Secure Element today. A Secure Element (SE) securely stores card\/cardholder data and does cryptographic processing. During a... <br \/><a class=\"moretag\" href=\"https:\/\/www.gmarwaha.com\/blog\/2014\/10\/02\/apple-pay-vs-google-wallet-the-secure-element\/\">Continue reading...<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,55,54,23,18,48,49,53],"tags":[],"class_list":["post-1194","post","type-post","status-publish","format-standard","hentry","category-android","category-apple-pay","category-hce","category-ios","category-mobile","category-mobile-payments","category-nfc","category-secure-element"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/posts\/1194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/comments?post=1194"}],"version-history":[{"count":22,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/posts\/1194\/revisions"}],"predecessor-version":[{"id":1319,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/posts\/1194\/revisions\/1319"}],"wp:attachment":[{"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/media?parent=1194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/categories?post=1194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gmarwaha.com\/blog\/wp-json\/wp\/v2\/tags?post=1194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}