I have the com.apple.managed.vpn.shared keychain access group.
Is it possible to read all the digital identities installed on the device?
I read the documentation but I didn't understand if I can get only the digital identities installed via MDM and only if it's done with the same profile which installed the VPN payload, or if I can read all the digital identities including those which were installed via mail. see eskimos reply and documentation
If it's possible to read the digital identities, how can I do it should I call something like 'SecItemCopyMatching' (see example code), or something like 'reading in a PKCS#12-formatted blob and then importing the contents of the blob into the app's keychain using the function SecPKCS12Import' like it's written at the documentation
No.is there any other way my app can read a digital identity which was
manually installed?
Once imported the digital identity lives in the keychain, not in a separate file.Or is the only way is to open the file picker and let the user choose
the digital identity?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"