🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.win32
Article #2167

Help with CryptoAPI

#2167
From: xuxiong
Date: Wed, 28 Jul 1999 00:00
17 lines
1182 bytes
Hi,

When I use CryptAcquireContext
(&hCryptProv,NULL,NULL,PROV_RSA_FULL,NULL) to get the provider's
handle, the function fails with error NTE_BAD_KEYSET, and the following
function calls to hash/encrypt fail, but CertOpenSystemStore
(hCryptProv, "MY") dose return a valid system store handle.

Can anyone give some hints?

Thanks in advance!
--
Xu,Xiong


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Technical Details
Message-ID: <7nmil5$jns$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5ca7,1f263060b006d4b5,start
X-Google-Attributes: gidf5ca7,public
X-Google-Thread: 113dfb,1f263060b006d4b5,start
X-Google-Attributes: gid113dfb,public
From: xuxiong@163.net
Subject: Help with CryptoAPI
Date: 1999/07/28
Message-ID: <7nmil5$jns$1@nnrp1.deja.com>
X-Deja-AN: 506059426
X-Http-Proxy: 1.0 x36.deja.com:80 (Squid/1.1.22) for client 202.96.127.41
Organization: Deja.com - Share what you know. Learn what you don't.
X-Article-Creation-Date: Wed Jul 28 09:31:17 1999 GMT
X-MyDeja-Info: XMYDJUIDimx
Newsgroups: comp.os.ms-windows.programmer.win32,borland.public.cppbuilder.winapi
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98)