| | 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
"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."