Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
cinst.c File Reference
#include "ckcapi.h"

Go to the source code of this file.

Functions

static CK_ULONG ckcapi_mdInstance_GetNSlots (NSSCKMDInstance *mdInstance, NSSCKFWInstance *fwInstance, CK_RV *pError)
static CK_VERSION ckcapi_mdInstance_GetCryptokiVersion (NSSCKMDInstance *mdInstance, NSSCKFWInstance *fwInstance)
static NSSUTF8ckcapi_mdInstance_GetManufacturerID (NSSCKMDInstance *mdInstance, NSSCKFWInstance *fwInstance, CK_RV *pError)
static NSSUTF8ckcapi_mdInstance_GetLibraryDescription (NSSCKMDInstance *mdInstance, NSSCKFWInstance *fwInstance, CK_RV *pError)
static CK_VERSION ckcapi_mdInstance_GetLibraryVersion (NSSCKMDInstance *mdInstance, NSSCKFWInstance *fwInstance)
static CK_RV ckcapi_mdInstance_GetSlots (NSSCKMDInstance *mdInstance, NSSCKFWInstance *fwInstance, NSSCKMDSlot *slots[])
static CK_BBOOL ckcapi_mdInstance_ModuleHandlesSessionObjects (NSSCKMDInstance *mdInstance, NSSCKFWInstance *fwInstance)

Variables

NSS_IMPLEMENT_DATA const
NSSCKMDInstance 
nss_ckcapi_mdInstance

Function Documentation

static CK_VERSION ckcapi_mdInstance_GetCryptokiVersion ( NSSCKMDInstance *  mdInstance,
NSSCKFWInstance *  fwInstance 
) [static]

Definition at line 68 of file cinst.c.

static NSSUTF8* ckcapi_mdInstance_GetLibraryDescription ( NSSCKMDInstance *  mdInstance,
NSSCKFWInstance *  fwInstance,
CK_RV pError 
) [static]

Definition at line 89 of file cinst.c.

static CK_VERSION ckcapi_mdInstance_GetLibraryVersion ( NSSCKMDInstance *  mdInstance,
NSSCKFWInstance *  fwInstance 
) [static]

Definition at line 100 of file cinst.c.

static NSSUTF8* ckcapi_mdInstance_GetManufacturerID ( NSSCKMDInstance *  mdInstance,
NSSCKFWInstance *  fwInstance,
CK_RV pError 
) [static]

Definition at line 78 of file cinst.c.

static CK_ULONG ckcapi_mdInstance_GetNSlots ( NSSCKMDInstance *  mdInstance,
NSSCKFWInstance *  fwInstance,
CK_RV pError 
) [static]

Definition at line 57 of file cinst.c.

{
  return (CK_ULONG)1;
}
static CK_RV ckcapi_mdInstance_GetSlots ( NSSCKMDInstance *  mdInstance,
NSSCKFWInstance *  fwInstance,
NSSCKMDSlot *  slots[] 
) [static]

Definition at line 110 of file cinst.c.

{
  slots[0] = (NSSCKMDSlot *)&nss_ckcapi_mdSlot;
  return CKR_OK;
}
static CK_BBOOL ckcapi_mdInstance_ModuleHandlesSessionObjects ( NSSCKMDInstance *  mdInstance,
NSSCKFWInstance *  fwInstance 
) [static]

Definition at line 122 of file cinst.c.

{
  /* we don't want to allow any session object creation, at least
   * until we can investigate whether or not we can use those objects
   */
  return CK_TRUE;
}

Variable Documentation