RE: CSM_Free3 public key
"Colestock, Robert" <[email protected]> Fri, 13 Jul 2001 11:40:08 -0400
| Newsgroups | gmane.ietf.sfl |
|---|---|
| Message-ID | <[email protected]> |
Eric:
I am not sure what your requirement is, but in general the CTILs do not need
to reference their own public keys. If you are referring to the logic in
"CSM_Free3::GetParamsAndY(...)", then this function only operates on public
keys with parameters. The actual public key is only necessary for later
processing to create the CRYPTO++ instances (DSA in order to construct a
proper private key handling class instance processing, DH for Key Agreement
if we encrypt to ourselves, no recipient); the parameters are also
necessary. Since RSA only uses the recipient's public key, our personal key
is unnecessary.
SME(SetDHY(&bufferTemp));
...
SME(SetDSAY(&bufferTemp));
We never have a need for our own RSA public key.
If you want the public key of the instance, simply reference the
CSM_CSInst::AccessCertificates().SetCurrToFirst(). It should contain the
actual user certificate associated with the login instance. (Then
CSM_CertificateChoice::GetPublicKey().
Bob Colestock
VDA.
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Friday, July 13, 2001 7:52 AM
To: [email protected]
Subject: CSM_Free3 public key
Hi,
If i understand, CSM_Free3 can be initialized by RSA, DSA, DH but we can
only extract the public key of DSA and DH. Why ?????
What can i do to extract the public key with CSM_Free3 ???
Thanks.
**************************************************************************
Eric Boudreault
------------------------------------------------
Programmeur
------------------------------------------------
Motus Technologies
390, St-Vallier Est
Bureau 100
Québec, Qc
G1K 3P6
Tél.: 521-2100 ext.#242
Fax.: 521-2101
courriel: [email protected]
**************************************************************************