小弟要开发一个windows2k下的CSP,因为CSP必须要微软签名才能够在windows2k下使用,使用微软SDK中提供的CSPSIGN.EXE来签名,使用CSPSIGN.EXE验证签名没有问题,但当调用CryptAcquireContext()函数使用这个CSP时,返回值为 0x80090006L(The provider DLL signature could not be verified. Either the DLL or the digital signature has been tampered with.),如果使用其他的CSP就没有这个问题,开发过CSP的,能否告知小弟该如何去做?
2.如果使用XP或以上版本,使用Windebug/KD进入内核调试模式,进入这个模式后,advapi32.dll回屏蔽签名校验
我是用cspsign签名的,而且签名完后,用cspsign来验证也没有问题,但是调用advapi32.dll的函数CryptAcquireContext()时就返回了0x80090006L(The provider DLL signature could not be verified. Either the DLL or the digital signature has been tampered with.)这样的错误。