FW: implementing PKCS#11

"Beauchamp, Sue" <[email protected]> Wed, 19 Jun 2002 15:06:27 -0400
Newsgroups gmane.ietf.sfl
Message-ID <[email protected]>

The SFL calls the generic CTIL API functions that are mapped to
algorithm-specific CTIL functions that call crypto token libraries to
access the crypto algorithms.  In your case you are interested in the
pkcs11 ctil.

When the application starts, it directly queries the appropriate CTIL
that it requires through the C++ API.  The CTIL that is queried obtains
initialization information from the appropriate crypto token library and
returns a class pointer to be used as a parameter when calling SFL
High-Level functions.  By doing this, the SFL High-Level functions can
call functions in the appropriate CTIL in a manner that is entirely
algorithm independent.

The CSMIME and CSM_CSInst classes describe how to designate which
library is used for processing. 

You can find our CTIL pkcs11 code under SMIME/alg_libs/pkcs11.

You can find our test driver code for an example under the
SMIME/testsrc/utilAlgs directory.   
 
If you are interested in how we set up our tests you can look at the
configuration files that start with auto_P11... under SMIME/test/
directory.  Those configuration files correspond to the configuration
files under SMIME/test/sm_pkcs11 directory.

Sue Beauchamp
Getronics Government Solutions

-----Original Message-----
From: Pawling, John 
Sent: Wednesday, June 19, 2002 9:28 AM
To: Beauchamp, Sue
Cc: Vracar, Lisa
Subject: FW: implementing PKCS#11


Hi Sue,

Isn't there some SFL test driver code that this person could examine to
see a sample of PKCS#11 Initialization?  If so, please answer the
message.

Thanks,
John

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Wednesday, June 19, 2002 5:34 AM
To: [email protected]
Subject: implementing PKCS#11


hello all,
I am pretty new with the SFL API and i am trying to interface it to a
PKCS#11 library.
I have some difficulties to find out the good functions in the API.
Could anybody send me an sample of PKCS#11 Initialization ?
thanks for your help.