NCryptSetProperty – The security descriptor structure is invalid
In Window, I’m trying to create a key in the TPM with the help of the NCrypt library and restrict the access to only my application in C++, but I get the error: “The security descriptor structure is invalid”