#include #include #include HRESULT ExportCertToFile(BSTR bstrInstanceName, BSTR FileName,BSTR Password,BOOL bPrivateKey,BOOL bCertChain); HRESULT ImportCertFromFile(BSTR FileName, BSTR Password, BSTR bstrInstanceName);