Access certificates out of keychain

Hello,


i need to access certificates from "virtual" place in macOS to my app.


Exmaple: my app can list certificates out of keychain (not use keychain sharing from another app). Certificates are downloaded from server (only public part) and uses for signing.


I can access certificates via IdentityPanel or just list identites from keychain. But i need to load cert out of keychain. I can user PKCS12 import, but i dont have a private part of cert.


I think this is impossible.


What do you think, please?


Thank you for response