Click here to Skip to main content
15,889,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get CTreeCtrl to show selection after loss of focus Pin
PJ Arends30-Sep-05 7:21
professionalPJ Arends30-Sep-05 7:21 
GeneralRe: How to get CTreeCtrl to show selection after loss of focus Pin
Ian Bowler30-Sep-05 7:26
Ian Bowler30-Sep-05 7:26 
AnswerRe: How to get CTreeCtrl to show selection after loss of focus Pin
Neelesh K J Jain30-Sep-05 7:25
Neelesh K J Jain30-Sep-05 7:25 
GeneralRe: How to get CTreeCtrl to show selection after loss of focus Pin
Ian Bowler30-Sep-05 7:32
Ian Bowler30-Sep-05 7:32 
GeneralRe: How to get CTreeCtrl to show selection after loss of focus Pin
Neelesh K J Jain30-Sep-05 18:22
Neelesh K J Jain30-Sep-05 18:22 
Questionlaunching application from html page Pin
vyjesh30-Sep-05 4:03
vyjesh30-Sep-05 4:03 
AnswerRe: launching application from html page Pin
Taka Muraoka30-Sep-05 8:44
Taka Muraoka30-Sep-05 8:44 
QuestionPrivate keys Pin
sunit530-Sep-05 3:46
sunit530-Sep-05 3:46 
I am programming a Socket enabled with SSL.while asking for credentials

ie AcquireCredentialsHandle returns with SEC_E_INTERNAL_ERROR.I
searching in the net i found that similar problem is faced by some
people and they were suggested that their private key is not available
at the time of getting credentials.


I have created Certificate Request using openssl.i used a command to
obtain private key and certificate request.

openssl> req -newkey rsa:1024 -keyout server.key -nodes -days 365 -out
server.csr
server.key contains RSA private key
server.csr contains the request for certificate.

I clicked the Advance option in the Certificate service and pasted the
contents in the block .i got the certificate named certnew.cer.i opened
this file clicked an option "copy to a file"and marked the option
pkcs#7(.P7B).i named the file "FileStore".the file generated is
"FileStore.p7b" .Also i have not used installed certificate option

since my certificate store provider is a file provider so i did this
/*code for file store*/

#define ENCODING_TYPE (PKCS_7_ASN_ENCODING | X509_ASN_ENCODING)

HCERTSTORE m_hMyCertStore;//handle to certificate store

m_hMyCertStore = CertOpenStore(CERT_STORE_PROV_FILENAME_A,
ENCODING_TYPE,
NULL,
NULL,
_T("FileStore.p7b"));

I want to know that with above procedure i followed whether my private
keys are available when my CERT_CONTEXT gets created.and if any other
problem please suggest me.

Thansx in advance for any suggestion
QuestionMFC program error Pin
rncwnd30-Sep-05 1:48
rncwnd30-Sep-05 1:48 
AnswerRe: MFC program error Pin
mark novak30-Sep-05 2:43
mark novak30-Sep-05 2:43 
GeneralRe: MFC program error Pin
Bartosz Bien30-Sep-05 3:09
Bartosz Bien30-Sep-05 3:09 
AnswerRe: MFC program error Pin
toxcct30-Sep-05 2:45
toxcct30-Sep-05 2:45 
JokeRe: MFC program error Pin
Bartosz Bien30-Sep-05 3:05
Bartosz Bien30-Sep-05 3:05 
GeneralRe: MFC program error Pin
David Crow30-Sep-05 3:15
David Crow30-Sep-05 3:15 
AnswerRe: MFC program error Pin
rncwnd30-Sep-05 5:43
rncwnd30-Sep-05 5:43 
GeneralRe: MFC program error Pin
toxcct30-Sep-05 6:35
toxcct30-Sep-05 6:35 
GeneralRe: MFC program error Pin
bugDanny30-Sep-05 7:36
bugDanny30-Sep-05 7:36 
GeneralRe: MFC program error Pin
Jörgen Sigvardsson30-Sep-05 9:16
Jörgen Sigvardsson30-Sep-05 9:16 
GeneralRe: MFC program error Pin
bugDanny30-Sep-05 10:59
bugDanny30-Sep-05 10:59 
GeneralRe: MFC program error Pin
rncwnd30-Sep-05 11:11
rncwnd30-Sep-05 11:11 
GeneralRe: MFC program error Pin
Anonymous1-Oct-05 9:45
Anonymous1-Oct-05 9:45 
GeneralRe: MFC program error Pin
rncwnd2-Oct-05 3:18
rncwnd2-Oct-05 3:18 
AnswerRe: MFC program error Pin
Jose Lamas Rios30-Sep-05 17:58
Jose Lamas Rios30-Sep-05 17:58 
QuestionListView Pin
karmendra_js30-Sep-05 1:24
karmendra_js30-Sep-05 1:24 
AnswerRe: ListView Pin
mark novak30-Sep-05 2:37
mark novak30-Sep-05 2:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.