[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
init CTIL libs
Hi everyone,
I'm working on smime application under RedHat Linux 6.2 OS using S/MIME
freeware libraries. I have v1.8 SFL release and crypto++ library - got
from www.armadillo.huntsville.al.us/software/smime
(This web is down at this time - does anybody know why?)
I have some troubles with logging into FREE3 CTIL.
I know two ways how to do that:
- using void SMFree3Init(CSMIME *pCSMIME, char *pszPassword,
char *pszAddressBook, char *pszPrefix);
function.
- or using CSM_AppLogin class
In the first case is required (as a third parameter) addressbook file.
I don't know how its structure looks like. How can I obtain any example
addressbook file? Can somebody tell me the structure or place where
I can get this file? (Or way how to obtain one)
The same problem is with sfl test environment. There are used config
files and also addressbook files (mentioned in .cfg files)
In the second case I don't know which values are required to pass as
the second parameter in class constructor. I look into the source code of
SFL and there is a member function defined like this:
//////////////////////////////////////////////////////////////////
#ifdef BOB_NOT_USED
//
//
void CSM_AppLogin::AddLogin(
CSM_Buffer &CertBuf, // IN, public key and algs
CSM_Buffer *pSFLPrivateKey, // IN, private key for signing/
// encryption ops OPTIONAL
char *lpszPassword) // IN, password to decrypt privatekey
{
.
.
.
}
Isn't this type of logging supported yet? (This function is not in
header file - class declaration)
Can anybody help me how to solve this problem?
--Jiri Skrabal
email: xskrabal@xxxxxxxxxx