Hi, I would like to open this topic again and ask about private key export.
If I have a local certificate with private key in Mac Keychain, I am able to export private key by SecExportItem method.
However, now I have USB token which should require PIN with certificate and private key and I want to export private key from this USB token.
I used TKTokenWatcher.tokenIDs to get name of my token which can be used in query to get private key.
How should I proceed? How can I export private key from USB token with PIN security ?
thank you :)
Topic:
App & System Services
SubTopic:
Core OS
Tags: