View Single Post
Old 12-16-2011, 09:33 AM   #14
taraspaliy
New Member
 
Join Date: Dec 2011
Model: 9105
PIN: N/A
Carrier: null
Posts: 13
Default Re: working with S/MIME

"We're able to export certificates and corresponding keys to BlackBerry key store. But the private key is not exposed, and we just return a reference to the private key stored in our app."

BlackBerry's API provides with CryptoSmartCardSession class, that have a method getKeyStoreDataArrayImpl

with description:

"Returns an array of KeyStoreData associated with the keys stored on the card.

The array should contain all the private keys (or references to), symmetric keys (or references to), public keys and certificates on the card.

If a KeyStoreData contains public keys, they must be valid PublicKeys. Public key cryptographic operations will be handled by the device and not by the smartcard.

If the key store contains certificates, they must be valid Certificates."
Offline   Reply With Quote