secure-element

emulate nfc card with selected UID on android

℡╲_俬逩灬. 提交于 2021-01-27 12:11:21
问题 I want to ask 2question about nfc card emulate : can I emulate nfc card include uid that I select? I read HCE and don't understand what is the diffrent between HCE and Card Emulation with a Secure Element?. what are the disadvantage with the Secure Element ? i can't control on the card data/uid and on HCE I can? 回答1: This subject may be a bit old but I was asking myself the same question. Apparently the UID of the card emulated by your phone is random, but if you want to emulate the UID too

List of Android smart phones that support Android StrongBox on API 28(Android Pie)

懵懂的女人 提交于 2020-03-18 07:59:18
问题 I need the list of Android phones that support secure element and StrongBox in Android 9. Where or how can I find that? I tried the code below with Samsung Galaxy S9 and also with AVD Google Pixle XL API 28 KeyPairGenerator kpg = null; kpg = KeyPairGenerator.getInstance( KeyProperties.KEY_ALGORITHM_RSA, "AndroidKeyStore"); kpg.initialize(new KeyGenParameterSpec.Builder("keystore1", KeyProperties.PURPOSE_SIGN) .setCertificateSerialNumber(BigInteger.valueOf(1L)) .setCertificateSubject(new

List of OMAPI supported devices

流过昼夜 提交于 2019-12-29 05:35:07
问题 I'm developing with the Open Mobile API but so far haven't found a list of devices that support the API by default (by default being using the OEM ROM). I realise that since API level 21, Android telephony supports sending APDUs via basic and logical channels dirctly through the TelephonyManager. But I'd like to know about devices running pre-API level 21 too. So, has a list already been compiled of devices with built-in support or is there a way to find out for myself? 回答1: I'm not aware of

How to store data into Secure Element in android

别等时光非礼了梦想. 提交于 2019-12-22 05:03:37
问题 I want to create a google wallet like application in android. It is said that "all payment credentials are stored in a chip called the Secure Element contained within the phone". How can I access this secure element and store my card credentials into it. My aim is to use my phone (Nexus) at the checkout counter instead of my card. So what I want is to store some data to the Secure Element chip and access the data when I tap on an NFC reader. Thanks in advance. 回答1: If you check the Google

Android Open Mobile API Release Difficulties

你离开我真会死。 提交于 2019-12-20 07:44:32
问题 I am using the "org.simalliance.openmobileapi.jar" file from SDK. I copied it to my libs folder and added the dependency like this Case #1: working fine (in debug mode) In app Gradle file I have: provided files('libs/org.simalliance.openmobileapi.jar') Case #2: not working (in release mode - without minifyEnabled) In app Gradle file I have: compile files('libs/org.simalliance.openmobileapi.jar') In case #2 I get the following exception: (java.lang.SecurityException: Access Control Enforcer:

Emulate Mifare smart card on NFC device (with NXP chip)

半城伤御伤魂 提交于 2019-12-13 05:19:34
问题 I'm struggling to find out how to emulate a Mifare smart card on an Android NFC device with NXP chip. Is it possible? At http://www.mifare.net/en/micommunity/qa/ question number 4, they say there are ways to do it. Does anyone know how, in more detail? I've been trying to ask them without any answer. And do you know whether devices using the NXP chip normally are equipped with an embedded secure element (eSE) with Mifare capabilities and where I can find info about it? 回答1: You can't emulate

Phones that can support Open Mobile API

瘦欲@ 提交于 2019-12-12 20:02:24
问题 I understand that to access SIM/eSE from an Android app we need to install Open Mobile API addon on Android Studio. However, is it true that it will not work on all NFC phones? For example, do some OEM limited access to SIM/eSE? Or are there phones where only custom firmware will work with Open Mobile API? Also, is there a list of phones that support Open Mobile API by default? 回答1: That's correct. The phone needs to implement the Open Mobile API (by means of the smartcard system service) in

How to check either secure enclave is available in device or not

点点圈 提交于 2019-12-10 13:23:00
问题 As we know that secure Enclave is a coprocessor fabricated in the Apple A7 and its available in A7 and later on but its use publicly in iOS 9 kSecAttrTokenIDSecureEnclave but how do we check either some device support secure enclave or not ? Thanks 回答1: I didnt find any so I made my own check: + (BOOL) isDeviceOkForSecureEnclave { double OSVersionNumber = floor(NSFoundationVersionNumber); UIUserInterfaceIdiom deviceType = [[UIDevice currentDevice] userInterfaceIdiom]; BOOL

How to store data into Secure Element in android

我的梦境 提交于 2019-12-05 05:21:57
I want to create a google wallet like application in android. It is said that "all payment credentials are stored in a chip called the Secure Element contained within the phone". How can I access this secure element and store my card credentials into it. My aim is to use my phone (Nexus) at the checkout counter instead of my card. So what I want is to store some data to the Secure Element chip and access the data when I tap on an NFC reader. Thanks in advance. If you check the Google Wallet FAQ you can find the following : Your payment credentials are stored in a chip called the Secure Element

Android Open Mobile API Release Difficulties

落花浮王杯 提交于 2019-12-02 08:03:05
I am using the "org.simalliance.openmobileapi.jar" file from SDK. I copied it to my libs folder and added the dependency like this Case #1: working fine (in debug mode) In app Gradle file I have: provided files('libs/org.simalliance.openmobileapi.jar') Case #2: not working (in release mode - without minifyEnabled) In app Gradle file I have: compile files('libs/org.simalliance.openmobileapi.jar') In case #2 I get the following exception: (java.lang.SecurityException: Access Control Enforcer: no APDU access allowed!) What could cause the problem? First of all, you need to use the "provided"