Can I use the cryptographic functions of a SIM card?

All smart cards have built-in cryptographic capabilities and processing power.

Can I use this with the developed Android application? For example, can I sign a file using the public / private key stored on the SIM card.

I have heard of some standards and norms and initiatives (ETSI-MSS, Mobile PKI), but I do not see any application of such an architecture.

Does anyone have a key to this?

+8
android api cryptography sim-card
source share
2 answers

I understand that standard cryptography is not used on SIM cards. The handle checks the authentication and cryptography types for the network. Given the quality of say A3 / 5, I'm not sure what you want. I doubt you can get AES or get revenge from RSA

In fact, the above statement is somewhat incorrect: apparently, there is work either to make SIM cards have this functionality, or to write shared libraries for its disclosure. I cannot, however, so that life remembers the article in which I read this.

It looks like this will be the starting point of https://stackoverflow.com/a/464626/

+1
source share

No, you cannot access the SIM card directly in Android. All access to telephony-related services is carried out in the TelephonyManager API , and there is no API that can perform operations and cryptographic operations on a SIM card.

+2
source share

All Articles