Issues compiling auto_hi classes (and others issues)
"Simon Blanchet" <[email protected]> Mon, 19 Mar 2001 12:20:07 -0500
| Newsgroups | gmane.ietf.sfl |
|---|---|
| Message-ID | <[email protected]> |
Hi! I'm pretty much new to SFL and I got several general questions about it. (Question #1) I didn't succeed in compiling the project auto_hi classes with MS Visual Studio. I think that my setup is OK (Crypto++ was compiled with success etc...). Everything seems to go well but at the end of the compilation I obtains: c:\cvs_home\sfl\smime\alg_libs\sm_rsa\sm_rsa.h(65) : fatal error C1083: Cannot open include file: 'aglobal.h': No such file or directory sm_rsa.cpp c:\cvs_home\sfl\smime\alg_libs\sm_rsa\sm_rsa.h(65) : fatal error C1083: Cannot open include file: 'aglobal.h': No such file or directory Generating Code... Compiling... sm_tstdlib.c c:\cvs_home\sfl\smime\alg_libs\sm_rsa\sm_tstdlib.c(20) : fatal error C1083: Cannot open include file: 'aglobal.h': No such file or directory I know it's because I don't have RSA BSAFE library... But my question is: Do we really need RSA BSAFE to compile this project (auto_hi.exe)? Can we use SFL (with all the S/MIME functionnalities) without RSA BSAFE? At first I used to think that everything should be fine only with Crypto++ (this lib seems to implements all the functionnalities needed for S/MIME), but now I'm wondering. So if there is a way to use only Crypto++ with SFL: How to configure SFL only to use Crypto++? Which files or compilation flags do we need to add / modify? (Question #2) >From my understanding of SFL - CML - SRL now it looks like CML (v1.9) is only used to provide Cert Path Validation and High Level access to "the real implementation of a cert store". The Storage is handled by SRL. I got some questions concerning CML vs SRL: 2.1 Is there a way to use Crypto++ (instead of RSA BSAFE) for cryptographic function needed by CML for path processing? How? 2.2 Is there a way to use SFL with CML (for path validation processing and high level access to storage) with SRL (for storage only) and finally with a custom-made CallBack_Function (only for certificate retrieval). To be more precise: Let's say that someone want to use SRL to store the certificates but he don't want to use the default retrieval using a LDAP_Client provided library. What he want to do is more: I- SFL needs someone's certificate to encrypt II- SFL calls CML to ask for certificate III- CML calls SRL to ask for certificate IV- SRL don't find the certificate asked for... V- CML (or SRL at this point?) use the "Custom_Made" CallBack Function to retrieve the certificate At step V let's just say that the certificate is not found locally nor it is available to a LDAP directory. The certificate can be found at another place using a Custom_Made function... I hope you got it. The question is: Is it feasible? How? I was reading in CML API doc (v1.9) that there are 3 different functions that can be provided to CM_CreateSessionExt()... I have kind of a idea about how to do it but I'm really not sure if it will work (or if CML was designed for this specific case mentionned above). Thanks a lot in advance for your answers. I know there is quite some questions in this post... |========================================= | Simon Blanchet | Software Designer | | Email: [email protected] |=========================================