I am trying to set key exportable after generation, I am using NCrypt: First I am calling NCryptOpenStorageProvider to initialize provider handle, after that I am calling NcryptCreatePersistedKey to create key pair. this functions works well without errors. After that I call NCryptSetProperty with NCRYPT_EXPORT_POLICY_PROPERTY: uint ret = NCryptSetProperty(Key Handle, [...] read more