Hi, unfortunatly the suggested documents do not say anything about storing the private key reference into the keychain. According to the description, the only way to connect a smartcard is via USB. What about if it is a mobile device or HSM.
I miss a description about keychain usage, about storing a private key reference (and identity) which is connected to a token driver.
The PIVToken sample shows only the working of a driver as an app extension.
The documents state:
1) „Tokens are physical devices that can be built in to the system, located on attached hardware (like a smart card), or accessible through a network connection.”
2) “When a token is present in the system—such as when the user physically inserts a smart card into a USB slot—the CryptoTokenKit framework exposes the token’s items to your app as standard keychain items. It does this by copying the items to the keychain when the token is inserted, and deleting them from the keychain when the token is removed.”
My question is what about devices mentioned above? (They can have nework connection)
Regards, Gabor