RE: PKCS#12 file containing 2 certificates.

William Adams <[email protected]> Tue, 14 Aug 2001 11:29:30 +0100
Newsgroups gmane.ietf.sfl
Message-ID <000001c124ac$012dfb10$8b353fc1@dell32022k>
Not sure why that last one was empty so here is the question.

I have a PKCS#12 file that contains two certificates. One is for signing
using DSA and the other is for Encrypting using RSA. I would like to be able
to use just this one file but there seems to be a problem in that the
parameters for the DSA do not get stored when at Logon. this seems to be
because the "AddLoginStatic" function which stores the parameters, via
"GetParamsAndY", is only called for the first certificate in the file, which
is the RSA one. the other problem is that there are two different private
keys in the pkcs#12 file but only one is read in and stored.

Is it possible to do this or will I have to create two instances, one for
the signing certificate & key, and one for the encryption certificate & key?

regards

William Adams
Software Engineer
Nexor.
================
Tel:  +44 115 9535536
Fax: +44 115 9520519