locked
certreq.exe passing invalid address for pszDescription in NCRYPT_UI_POLICY RRS feed

  • Question

  • I am implementing a sample Key Storage provider and I am not supporting all properties. When creating new certificate request using certreq.exe, if my provider returns NTE_NOT_SUPPORTED, certreq.exe is failing. Why is this property mandatory?

    I am trying to access the property value in sample provider using NCRYPT_UI_POLICY structure, provider is crashing when I am trying to access pszDescription member. pszCreationTitle, pszFriendlyName members are NULL, but pszDescription member is not null and accessing the address is causing crash.

    Is it mandatory to provide support for this property?

    Tuesday, December 4, 2018 11:25 AM