cryptography - PKCS11 command flow -
i'm trying access pkcs11 cryptographic token (smart card). using smart card had own proprietary api card access, i'm trying understand how can map out pkcs11 token.
in previous smart card, had connect device, issue api calls various functions such verify pin, card info, select file, read file, write file, perform cryptographic functions (rng, symmetric/assymmetric encryption, etc), , finally, disconnect device.
is there similar flow pkcs11 tokens? looked various functions such c_initialize, c_opensession, etc, i'm not sure do, nor parameters use. simple examples in c showing how application accesses token to, say, verify pin, helpful.
thanks!
i have written pkcs#11 wrapper .net called pkcs11interop comes unit tests covering functions provided pkcs#11 api. can take @ lowlevelapi tests can mapped ansi c.
you should consider reading @ least "chapter 2 - scope", "chapter 6 - general overview" , "chapter 10 - objects" of pkcs#11 standard.
Comments
Post a Comment