Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations | Variables
pk11util.h File Reference
#include <pkcs11.h>
#include "nspr.h"
#include "prtypes.h"
#include "pkcs11f.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _constant
struct  _values
struct  _variable
struct  _commands
struct  _module
struct  _topics

Defines

#define CK_PKCS11_FUNCTION_INFO(func)   F_##func,
#define MAX_ARGS   10

Typedefs

typedef enum _constType ConstType
typedef struct _constant Constant
typedef struct _values Value
typedef struct _variable
typedef struct _commands Commands
typedef struct _module Module
typedef struct _topics Topics

Enumerations

enum  FunctionType {
  F_No_Function, F_SetVar, F_SetStringVar, F_NewArray,
  F_NewInitializeArgs, F_NewTemplate, F_NewMechanism, F_BuildTemplate,
  F_SetTemplate, F_Print, F_SaveVar, F_RestoreVar,
  F_Increment, F_Decrement, F_Delete, F_List,
  F_Run, F_Load, F_Unload, F_System,
  F_Loop, F_Time, F_Help, F_Quit,
  F_QuitIf, F_QuitIfString, F_No_Function, F_SetVar,
  F_SetStringVar, F_NewArray, F_NewInitializeArgs, F_NewTemplate,
  F_NewMechanism, F_BuildTemplate, F_SetTemplate, F_Print,
  F_SaveVar, F_RestoreVar, F_Increment, F_Decrement,
  F_Delete, F_List, F_Run, F_Load,
  F_Unload, F_System, F_Loop, F_Time,
  F_Help, F_Quit, F_QuitIf, F_QuitIfString
}
enum  ArgType {
  ArgNone, ArgVar, ArgULong, ArgChar,
  ArgUTF8, ArgInfo, ArgSlotInfo, ArgTokenInfo,
  ArgSessionInfo, ArgAttribute, ArgMechanism, ArgMechanismInfo,
  ArgInitializeArgs, ArgFunctionList, ArgMask = 0xff, ArgOut = 0x100,
  ArgArray = 0x200, ArgNew = 0x400, ArgFile = 0x800, ArgStatic = 0x1000,
  ArgOpt = 0x2000, ArgFull = 0x4000, ArgNone, ArgVar,
  ArgULong, ArgChar, ArgUTF8, ArgInfo,
  ArgSlotInfo, ArgTokenInfo, ArgSessionInfo, ArgAttribute,
  ArgMechanism, ArgMechanismInfo, ArgInitializeArgs, ArgFunctionList,
  ArgMask = 0xff, ArgOut = 0x100, ArgArray = 0x200, ArgNew = 0x400,
  ArgFile = 0x800, ArgStatic = 0x1000, ArgOpt = 0x2000, ArgFull = 0x4000
}
enum  _constType {
  ConstNone, ConstBool, ConstInfoFlags, ConstSlotFlags,
  ConstTokenFlags, ConstSessionFlags, ConstMechanismFlags, ConstInitializeFlags,
  ConstUsers, ConstSessionState, ConstObject, ConstHardware,
  ConstKeyType, ConstCertType, ConstAttribute, ConstMechanism,
  ConstResult, ConstTrust, ConstAvailableSizes, ConstCurrentSize,
  ConstNone, ConstBool, ConstInfoFlags, ConstSlotFlags,
  ConstTokenFlags, ConstSessionFlags, ConstMechanismFlags, ConstInitializeFlags,
  ConstUsers, ConstSessionState, ConstObject, ConstHardware,
  ConstKeyType, ConstCertType, ConstAttribute, ConstMechanism,
  ConstResult, ConstTrust, ConstAvailableSizes, ConstCurrentSize
}

Variables

const char ** valueString
const int valueCount
const char ** constTypeString
const int constTypeCount
const Constantconsts
const int constCount
const Commandscommands
const int commandCount
const Topicstopics
const int topicCount

Class Documentation

struct _constant

Definition at line 96 of file pk11util.h.

Class Members
ConstType attrType
const char * name
ConstType type
CK_ULONG value
struct _values

Definition at line 106 of file pk11util.h.

Collaboration diagram for _values:
Class Members
int arraySize
ConstType constType
void * data
char * filename
int reference
int size
ArgType type
struct _variable

Definition at line 120 of file pk11util.h.

Collaboration diagram for _variable:
Class Members
Variable * next
Value * value
char * vname
struct _commands

Definition at line 134 of file pk11util.h.

Class Members
ArgType args
char * fname
FunctionType fType
char * helpString
struct _module

Definition at line 141 of file pk11util.h.

Collaboration diagram for _module:
Class Members
CK_FUNCTION_LIST * functionList
PRLibrary * library
struct _topics

Definition at line 146 of file pk11util.h.

Class Members
char * helpString
char * name

Define Documentation

Definition at line 12 of file pk11util.h.

#define MAX_ARGS   10

Definition at line 130 of file pk11util.h.


Typedef Documentation

typedef struct _variable

Definition at line 119 of file pk11util.h.

typedef struct _commands Commands
typedef struct _constant Constant
typedef enum _constType ConstType
typedef struct _module Module
typedef struct _topics Topics
typedef struct _values Value

Enumeration Type Documentation

enum _constType
Enumerator:
ConstNone 
ConstBool 
ConstInfoFlags 
ConstSlotFlags 
ConstTokenFlags 
ConstSessionFlags 
ConstMechanismFlags 
ConstInitializeFlags 
ConstUsers 
ConstSessionState 
ConstObject 
ConstHardware 
ConstKeyType 
ConstCertType 
ConstAttribute 
ConstMechanism 
ConstResult 
ConstTrust 
ConstAvailableSizes 
ConstCurrentSize 
ConstNone 
ConstBool 
ConstInfoFlags 
ConstSlotFlags 
ConstTokenFlags 
ConstSessionFlags 
ConstMechanismFlags 
ConstInitializeFlags 
ConstUsers 
ConstSessionState 
ConstObject 
ConstHardware 
ConstKeyType 
ConstCertType 
ConstAttribute 
ConstMechanism 
ConstResult 
ConstTrust 
ConstAvailableSizes 
ConstCurrentSize 

Definition at line 72 of file pk11util.h.

enum ArgType
Enumerator:
ArgNone 
ArgVar 
ArgULong 
ArgChar 
ArgUTF8 
ArgInfo 
ArgSlotInfo 
ArgTokenInfo 
ArgSessionInfo 
ArgAttribute 
ArgMechanism 
ArgMechanismInfo 
ArgInitializeArgs 
ArgFunctionList 
ArgMask 
ArgOut 
ArgArray 
ArgNew 
ArgFile 
ArgStatic 
ArgOpt 
ArgFull 
ArgNone 
ArgVar 
ArgULong 
ArgChar 
ArgUTF8 
ArgInfo 
ArgSlotInfo 
ArgTokenInfo 
ArgSessionInfo 
ArgAttribute 
ArgMechanism 
ArgMechanismInfo 
ArgInitializeArgs 
ArgFunctionList 
ArgMask 
ArgOut 
ArgArray 
ArgNew 
ArgFile 
ArgStatic 
ArgOpt 
ArgFull 

Definition at line 46 of file pk11util.h.

Enumerator:
F_No_Function 
F_SetVar 
F_SetStringVar 
F_NewArray 
F_NewInitializeArgs 
F_NewTemplate 
F_NewMechanism 
F_BuildTemplate 
F_SetTemplate 
F_Print 
F_SaveVar 
F_RestoreVar 
F_Increment 
F_Decrement 
F_Delete 
F_List 
F_Run 
F_Load 
F_Unload 
F_System 
F_Loop 
F_Time 
F_Help 
F_Quit 
F_QuitIf 
F_QuitIfString 
F_No_Function 
F_SetVar 
F_SetStringVar 
F_NewArray 
F_NewInitializeArgs 
F_NewTemplate 
F_NewMechanism 
F_BuildTemplate 
F_SetTemplate 
F_Print 
F_SaveVar 
F_RestoreVar 
F_Increment 
F_Decrement 
F_Delete 
F_List 
F_Run 
F_Load 
F_Unload 
F_System 
F_Loop 
F_Time 
F_Help 
F_Quit 
F_QuitIf 
F_QuitIfString 

Definition at line 9 of file pk11util.h.

             {
    F_No_Function,
#undef CK_NEED_ARG_LIST
#define CK_PKCS11_FUNCTION_INFO(func) F_##func,
#include "pkcs11f.h"
#undef CK_NEED_ARG_LISt
#undef CK_PKCS11_FUNCTION_INFO
    F_SetVar,
    F_SetStringVar,
    F_NewArray,
    F_NewInitializeArgs,
    F_NewTemplate,
    F_NewMechanism,
    F_BuildTemplate,
    F_SetTemplate,
    F_Print,
    F_SaveVar,
    F_RestoreVar,
    F_Increment,
    F_Decrement,
    F_Delete,
    F_List,
    F_Run,
    F_Load,
    F_Unload,
    F_System,
    F_Loop,
    F_Time,
    F_Help,
    F_Quit,
    F_QuitIf,
    F_QuitIfString,
} FunctionType;

Variable Documentation

Definition at line 1367 of file pk11table.c.

Definition at line 1366 of file pk11table.c.

Definition at line 595 of file pk11table.c.

Definition at line 594 of file pk11table.c.

Definition at line 84 of file pk11table.c.

Definition at line 83 of file pk11table.c.

Definition at line 1401 of file pk11table.c.

Definition at line 1400 of file pk11table.c.

Definition at line 58 of file pk11table.c.

Definition at line 57 of file pk11table.c.