Go to the source code of this file.
Classes | |
interface | P6R::p6ITokenImpl |
Namespaces | |
P6R | |
Macros | |
#define | IF_p6ITokenImpl {0x59b44c1f,0x8032,0x42fe,{0x9d,0x89,0xa0,0x38,0x21,0x45,0x47,0x78}} |
#define | INTERFACE p6ITokenImpl |
Typedefs | |
typedef P6R::P6ERR(* | P6R::ADD_OBJECT_TO_SESSION )(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, P6BSTR *pGUID, P6ACCESS_TYPE requested) |
Enumerations | |
enum | P6R::P6ACCESS_TYPE { P6R::ACCESS_READ_ONLY = 0x00, P6R::ACCESS_READ_WRITE = 0x01 } |
This interface allows a 3rd party to implement their own token and plug it into the P6R PKCS 11 provider.
A token implementation built to this interface advertises it "name" in two ways: 1) in the p6pkcs11.conf file, "slotType" parameter (see PKCS 11 configuration documentation), and (2) by the "pTokenType" parameter of the initialize() function.
References: 1) OASIS, PKCS #11 Cryptographic Token Interface Base Specification Version 2.40, 16-Nov-2014, Committee Specification 02, http://docs.oasis-open.org/pkcs11-base/v2.40/cs02/pkcs11-basev2.40-cs02.doc
Definition in file p6tokenimpl.h.