Is there any way to import PFX/p12 file to smartcard programmatically using swift/Objective C?
Actually, I am able to extract the certificate from certificate chain(.p7b). Then instead of saving the certificate into mac's keychain, i want to import the certificate to smartcard programmatically.
I am able to add the certificate to mac's keychain using SecItemAdd. How can i import the certificate to smartcard using swift?