0

I am trying to use NCRYPT_CERTIFICATE_PROPERTY (flag for NCryptSetProperty) to create and delete certificate object on smartcard.

There is a way to delete only the certificate object with NCryptSetProperty and NCRYPT_CERTIFICATE_PROPERTY and not using NCryptDeleteKey that deletes the keys and certificates objects?

Sagir
  • 3
  • 2
  • The certificate contains the key so why do you need the certificate with a different key? – jdweng Jun 02 '20 at 16:04
  • I don't need the certificate, I only need the keys object without the certificate object, so I want to delete the certificate object without deleting the keys objects – Sagir Jun 03 '20 at 06:27
  • what happens when in windows you try to open the certificate in windows. Doesn't windows use the certificate to unlock the card? – jdweng Jun 03 '20 at 09:27

0 Answers0