Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
261 B

  1. #include <wincrypt.h>
  2. #include <CertCli.h>
  3. #include <xenroll.h>
  4. HRESULT ExportCertToFile(BSTR bstrInstanceName, BSTR FileName,BSTR Password,BOOL bPrivateKey,BOOL bCertChain);
  5. HRESULT ImportCertFromFile(BSTR FileName, BSTR Password, BSTR bstrInstanceName);