I've generated a signature key pair on a smart card using windows Smartcard CSP & Crypto API with C++.
Now I need to import a X509 certificate which is related to the same public key into the smart card, but I don't know which function should I use (maybe CryptImportKey
or CryptSetKeyParam
?).