Ask a questionAsk a question
 

Proposed Answerimporting personal certificate

  • Sunday, November 01, 2009 2:22 PMmartin_hansen Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    can I import a personal certificate to a Windows Mobile device in a way that the private key will be marked as "non exportable"? Otherwise, if the device gets lost, any unauthorized person can export the private key then.

    there are flags CRYPT_EXPORTABLE and CRYPT_USER_PROTECTED http://msdn.microsoft.com/en-us/library/aa924245.aspx
    If someone knows if these flags in
    PFXImportCertStore are set or not that would help me a lot
    Unfortunately the Windows Mobile UI does not offer to set these flags during the certificate import process


    Martin

All Replies