I'm at a dead end in researching how to generate asymmetric keys from a PIV card. I've looked through the NIST sp800-73-3 standards but I am not able to accomplish this. Outlined in part 3 of that document it shows them using INS 47 to do this but I get a 6D00 error. Is there another command that needs to be sent before this can be obtained?
Also, please correct me if I am wrong, but from my understanding when a key is generated, the private key gets stored on the card while the public key is returned. In order to encrypt the data with the private key, the data must be sent to the card and the encrypted information is returned. Is this accurate? How many keys can a card store at once?