Hello Ludovic,

On Wednesday 24 January 2007 12:41, Ludovic Rousseau wrote:
> On 24/01/07, Ph. Marek <[EMAIL PROTECTED]> wrote:
> > I'd need to access a smartcard using a (binary) pkcs#11-layer.
> > Does anyone know a module that provides a PKCS#11-API and just forwards
> > that to another driver?
> You should describe exactly what you want to do. A drawing is fine.
>
> What is the link with Perl?

I'd like a perl script like
        $my_pkcs11 = new Chipcard::PKCS11("driver.so");
        $my_pkcs11->Initialize();
        $my_pkcs11->Login($pin, LOGIN_AS_USER);
        $my_pkcs11->Encrypt(...);


    PerlScript => PerlModule => PKCS#11-Driver => PCSCD => Card
                      ^ this is what I'd like to have.

Sorry for not being clear enough.

I know that I can call pkcs11-tool, but as I'm checking via Chipcard::PCSC 
when a card is inserted, I'd have two processes going to the card - which 
might make problems, depending on interferences between the accesses.

Furthermore having all PKCS11 function available in perl would be much more 
flexible, of course -- and there's the performance, too.


Regards,

Phil
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to