Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
bringerofmyth
Posts: 8
Registered: ‎06-28-2013
My Device: not yet
My Carrier: Turkcell

NFC operations without SIM that has secure element

Hi, 

I am planning to start an NFC project. I have question before that. As I understood, we have 2 secure elements, one in SIM and embedded. If we do not have SIM that has secure element, can we just work the program by setting secure element in embedded one. Like this;

SecureElement se = sem.getSecureElement(SecureElement.Embedded);

Of course we assume we have an NFC featured BB. 

Please use plain text.
New Contributor
bringerofmyth
Posts: 8
Registered: ‎06-28-2013
My Device: not yet
My Carrier: Turkcell

Re: NFC operations without SIM that has secure element

any ideas?

Please use plain text.
BlackBerry Development Advisor (Retired)
robbieDubya
Posts: 418
Registered: ‎07-18-2012
My Device: Q10
My Carrier: Bell Canada

Re: NFC operations without SIM that has secure element

Yes - you can select the internal secure element like that...

 

But what are you trying to do? For most NFC applications its going to be easier to use a virtual target than a secure element...

--
Rob is no longer associated with BlackBerry.
Please use plain text.
New Contributor
bringerofmyth
Posts: 8
Registered: ‎06-28-2013
My Device: not yet
My Carrier: Turkcell

Re: NFC operations without SIM that has secure element

Is there a source/article about using a virtual target instead of secure element? I am going to start a prototype project that provides access control, so I am studying on card emulation mode in BlackBerry. Do you have any comments?
Please use plain text.
BlackBerry Development Advisor (Retired)
robbieDubya
Posts: 418
Registered: ‎07-18-2012
My Device: Q10
My Carrier: Bell Canada

Re: NFC operations without SIM that has secure element

[ Edited ]

Hi,

 

There sure are - my counterparts from the UK have put together all of these articles;

 

http://supportforums.blackberry.com/t5/Java-Development/NFC-Article-and-Code-Index/ta-p/1538775

 

For virtual target;

 

http://supportforums.blackberry.com/t5/Java-Development/NFC-Virtual-Target-Emulation/ta-p/1509687

 

 

My opinion only:

Card emulation pros:

- works when device is off / no app running

- approved by credit card companies

 

Card emulation cons:

- difficult to experiment with - unless you have all the bits... test SIMs, ability to push applets to these secure elements.

- who owns the security domains you're intending to use? you'll need an agreement with the owner of the SE to use space on them

 

Virtual target pros:

- use it as soon as you have access to a device

 

Virtual target cons:

- only works when application is open and in foreground

 

Note though - many banking applications disable card emulation when their application isn't in the foreground to prevent naughty activity...

 

 

 

 

--
Rob is no longer associated with BlackBerry.
Please use plain text.