Python/C Bindings

Definitions of PKCS11 types and Function bindings.

pycryptoki.cryptoki.CA_ActivateMofN(*args)

Cryptoki DLL call to CA_ActivateMofN.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CA_MOFN_ACTIVATION
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CapabilityUpdate(*args)

Cryptoki DLL call to CA_CapabilityUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_CheckOperationState(*args)

Cryptoki DLL call to CA_CheckOperationState.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_ChoosePrimarySlot(*args)

Cryptoki DLL call to CA_ChoosePrimarySlot.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_ChooseSecondarySlot(*args)

Cryptoki DLL call to CA_ChooseSecondarySlot.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_CloneAllObjectsToSession(*args)

Cryptoki DLL call to CA_CloneAllObjectsToSession.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloneAsSource(*args)

Cryptoki DLL call to CA_CloneAsSource.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – c_ulong
  • arg6 – c_ubyte
  • arg7 – LP_c_ubyte
  • arg8 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloneAsTarget(*args)

Cryptoki DLL call to CA_CloneAsTarget.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – c_ulong
  • arg6 – c_ulong
  • arg7 – c_ulong
  • arg8 – c_ubyte
  • arg9 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloneAsTargetInit(*args)

Cryptoki DLL call to CA_CloneAsTargetInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – c_ulong
  • arg6 – c_ubyte
  • arg7 – LP_c_ubyte
  • arg8 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloneModifyMofN(*args)

Cryptoki DLL call to CA_CloneModifyMofN.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_void_p
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloneMofN(*args)

Cryptoki DLL call to CA_CloneMofN.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_void_p
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloneObject(*args)

Cryptoki DLL call to CA_CloneObject.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloneObjectToAllSessions(*args)

Cryptoki DLL call to CA_CloneObjectToAllSessions.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_ClonePrivateKey(*args)

Cryptoki DLL call to CA_ClonePrivateKey.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloseAllSecondarySessions(*args)

Cryptoki DLL call to CA_CloseAllSecondarySessions.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_CloseApplicationID(*args)

Cryptoki DLL call to CA_CloseApplicationID.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloseApplicationIDForContainer(*args)

Cryptoki DLL call to CA_CloseApplicationIDForContainer.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloseApplicationIDV2(*args)

Cryptoki DLL call to CA_CloseApplicationIDV2.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_APPLICATION_ID
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloseSecondarySession(*args)

Cryptoki DLL call to CA_CloseSecondarySession.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CloseSecureToken(*args)

Cryptoki DLL call to CA_CloseSecureToken.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_ConfigureRemotePED(*args)

Cryptoki DLL call to CA_ConfigureRemotePED.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CreateContainer(*args)

Cryptoki DLL call to CA_CreateContainer.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – c_ulong
  • arg7 – c_ulong
  • arg8 – c_ulong
  • arg9 – c_ulong
  • arg10 – c_ulong
  • arg11 – c_ulong
  • arg12 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_CreateContainerLoginChallenge(*args)

Cryptoki DLL call to CA_CreateContainerLoginChallenge.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – LP_c_ulong
  • arg7 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_CreateContainerWithPolicy(*args)

Cryptoki DLL call to CA_CreateContainerWithPolicy.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – c_ulong
  • arg7 – c_ulong
  • arg8 – c_ulong
  • arg9 – c_ulong
  • arg10 – c_ulong
  • arg11 – c_ulong
  • arg12 – LP_c_ulong
  • arg13 – c_ulong
  • arg14 – c_ulong
  • arg15 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_CreateLoginChallenge(*args)

Cryptoki DLL call to CA_CreateLoginChallenge.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_Deactivate(*args)

Cryptoki DLL call to CA_Deactivate.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_DeactivateMofN(*args)

Cryptoki DLL call to CA_DeactivateMofN.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_DeleteContainer(*args)

Cryptoki DLL call to CA_DeleteContainer.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_DeleteContainerWithHandle(*args)

Cryptoki DLL call to CA_DeleteContainerWithHandle.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_DeleteRemotePEDVector(*args)

Cryptoki DLL call to CA_DeleteRemotePEDVector.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_DeriveKeyAndWrap(*args)

Cryptoki DLL call to CA_DeriveKeyAndWrap.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
  • arg4 – LP_CK_ATTRIBUTE
  • arg5 – c_ulong
  • arg6 – LP_CK_MECHANISM
  • arg7 – c_ulong
  • arg8 – LP_c_ubyte
  • arg9 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_DestroyMultipleObjects(*args)

Cryptoki DLL call to CA_DestroyMultipleObjects.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_DisableUnauthTokenInsertion(*args)

Cryptoki DLL call to CA_DisableUnauthTokenInsertion.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_DismantleRemotePED(*args)

Cryptoki DLL call to CA_DismantleRemotePED.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_DuplicateMofN(*args)

Cryptoki DLL call to CA_DuplicateMofN.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_EnableUnauthTokenInsertion(*args)

Cryptoki DLL call to CA_EnableUnauthTokenInsertion.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_EncodeECChar2Params(*args)

Cryptoki DLL call to CA_EncodeECChar2Params.

Parameters:
  • arg1 – LP_c_ubyte
  • arg2 – LP_c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – c_ulong
  • arg6 – c_ulong
  • arg7 – LP_c_ubyte
  • arg8 – c_ulong
  • arg9 – LP_c_ubyte
  • arg10 – c_ulong
  • arg11 – LP_c_ubyte
  • arg12 – c_ulong
  • arg13 – LP_c_ubyte
  • arg14 – c_ulong
  • arg15 – LP_c_ubyte
  • arg16 – c_ulong
  • arg17 – LP_c_ubyte
  • arg18 – c_ulong
  • arg19 – LP_c_ubyte
  • arg20 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_EncodeECParamsFromFile(*args)

Cryptoki DLL call to CA_EncodeECParamsFromFile.

Parameters:
  • arg1 – LP_c_ubyte
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_EncodeECPrimeParams(*args)

Cryptoki DLL call to CA_EncodeECPrimeParams.

Parameters:
  • arg1 – LP_c_ubyte
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – c_ulong
  • arg7 – LP_c_ubyte
  • arg8 – c_ulong
  • arg9 – LP_c_ubyte
  • arg10 – c_ulong
  • arg11 – LP_c_ubyte
  • arg12 – c_ulong
  • arg13 – LP_c_ubyte
  • arg14 – c_ulong
  • arg15 – LP_c_ubyte
  • arg16 – c_ulong
  • arg17 – LP_c_ubyte
  • arg18 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_Extract(*args)

Cryptoki DLL call to CA_Extract.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
Returns:

c_ulong

pycryptoki.cryptoki.CA_ExtractMaskedObject(*args)

Cryptoki DLL call to CA_ExtractMaskedObject.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_FactoryReset(*args)

Cryptoki DLL call to CA_FactoryReset.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_FindAdminSlotForSlot(*args)

Cryptoki DLL call to CA_FindAdminSlotForSlot.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_FirmwareRollback(*args)

Cryptoki DLL call to CA_FirmwareRollback.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_FirmwareUpdate(*args)

Cryptoki DLL call to CA_FirmwareUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – c_ulong
  • arg6 – LP_c_ubyte
  • arg7 – c_ulong
  • arg8 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_GenerateCloneableMofN(*args)

Cryptoki DLL call to CA_GenerateCloneableMofN.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_CA_MOFN_GENERATION
  • arg4 – c_ulong
  • arg5 – c_ulong
  • arg6 – c_void_p
Returns:

c_ulong

pycryptoki.cryptoki.CA_GenerateCloningKEV(*args)

Cryptoki DLL call to CA_GenerateCloningKEV.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GenerateMofN(*args)

Cryptoki DLL call to CA_GenerateMofN.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_CA_MOFN_GENERATION
  • arg4 – c_ulong
  • arg5 – c_ulong
  • arg6 – c_void_p
Returns:

c_ulong

pycryptoki.cryptoki.CA_GenerateTokenKeys(*args)

Cryptoki DLL call to CA_GenerateTokenKeys.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_ATTRIBUTE
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_Get(*args)

Cryptoki DLL call to CA_Get.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetApplicationID(*args)

Cryptoki DLL call to CA_GetApplicationID.

Parameters:arg1 – LP_CK_APPLICATION_ID
Returns:c_ulong
pycryptoki.cryptoki.CA_GetCVFirmwareVersion(*args)

Cryptoki DLL call to CA_GetCVFirmwareVersion.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetClusterState(*args)

Cryptoki DLL call to CA_GetClusterState.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_CLUSTER_STATE
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetConfigurationElementDescription(*args)

Cryptoki DLL call to CA_GetConfigurationElementDescription.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ulong
  • arg7 – LP_c_ulong
  • arg8 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetContainerCapabilitySet(*args)

Cryptoki DLL call to CA_GetContainerCapabilitySet.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetContainerCapabilitySetting(*args)

Cryptoki DLL call to CA_GetContainerCapabilitySetting.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetContainerList(*args)

Cryptoki DLL call to CA_GetContainerList.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetContainerName(*args)

Cryptoki DLL call to CA_GetContainerName.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetContainerPolicySet(*args)

Cryptoki DLL call to CA_GetContainerPolicySet.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetContainerPolicySetting(*args)

Cryptoki DLL call to CA_GetContainerPolicySetting.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetContainerStatus(*args)

Cryptoki DLL call to CA_GetContainerStatus.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetContainerStorageInformation(*args)

Cryptoki DLL call to CA_GetContainerStorageInformation.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ulong
  • arg7 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetExtendedTPV(*args)

Cryptoki DLL call to CA_GetExtendedTPV.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetFPV(*args)

Cryptoki DLL call to CA_GetFPV.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetFunctionList(*args)

Cryptoki DLL call to CA_GetFunctionList.

Parameters:arg1 – LP_LP_CK_SFNT_CA_FUNCTION_LIST
Returns:c_ulong
pycryptoki.cryptoki.CA_GetHAState(*args)

Cryptoki DLL call to CA_GetHAState.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_HA_STATUS
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetHSMCapabilitySet(*args)

Cryptoki DLL call to CA_GetHSMCapabilitySet.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetHSMCapabilitySetting(*args)

Cryptoki DLL call to CA_GetHSMCapabilitySetting.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetHSMPolicySet(*args)

Cryptoki DLL call to CA_GetHSMPolicySet.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetHSMPolicySetting(*args)

Cryptoki DLL call to CA_GetHSMPolicySetting.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetHSMStats(*args)

Cryptoki DLL call to CA_GetHSMStats.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_HSM_STATS_PARAMS
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetHSMStorageInformation(*args)

Cryptoki DLL call to CA_GetHSMStorageInformation.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetModuleInfo(*args)

Cryptoki DLL call to CA_GetModuleInfo.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_CKCA_MODULE_INFO
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetModuleList(*args)

Cryptoki DLL call to CA_GetModuleList.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetMofNStatus(*args)

Cryptoki DLL call to CA_GetMofNStatus.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CA_M_OF_N_STATUS
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetNumberOfAllowedContainers(*args)

Cryptoki DLL call to CA_GetNumberOfAllowedContainers.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetObjectHandle(*args)

Cryptoki DLL call to CA_GetObjectHandle.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetObjectUID(*args)

Cryptoki DLL call to CA_GetObjectUID.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetPartitionPolicyTemplate(*args)

Cryptoki DLL call to CA_GetPartitionPolicyTemplate.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetPedId(*args)

Cryptoki DLL call to CA_GetPedId.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetPrimarySlot(*args)

Cryptoki DLL call to CA_GetPrimarySlot.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetRemotePEDVectorStatus(*args)

Cryptoki DLL call to CA_GetRemotePEDVectorStatus.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetRollbackFirmwareVersion(*args)

Cryptoki DLL call to CA_GetRollbackFirmwareVersion.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetSecondarySlot(*args)

Cryptoki DLL call to CA_GetSecondarySlot.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetSecureElementMeta(*args)

Cryptoki DLL call to CA_GetSecureElementMeta.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_CK_MECHANISM
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ubyte
  • arg7 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetServerInstanceBySlotID(*args)

Cryptoki DLL call to CA_GetServerInstanceBySlotID.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetSessionInfo(*args)

Cryptoki DLL call to CA_GetSessionInfo.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetSlotIdForContainer(*args)

Cryptoki DLL call to CA_GetSlotIdForContainer.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetSlotIdForPhysicalSlot(*args)

Cryptoki DLL call to CA_GetSlotIdForPhysicalSlot.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetSlotListFromServerInstance(*args)

Cryptoki DLL call to CA_GetSlotListFromServerInstance.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTPV(*args)

Cryptoki DLL call to CA_GetTPV.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTSV(*args)

Cryptoki DLL call to CA_GetTSV.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTime(*args)

Cryptoki DLL call to CA_GetTime.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTokenCapabilities(*args)

Cryptoki DLL call to CA_GetTokenCapabilities.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTokenCertificateInfo(*args)

Cryptoki DLL call to CA_GetTokenCertificateInfo.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTokenCertificates(*args)

Cryptoki DLL call to CA_GetTokenCertificates.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTokenInsertionCount(*args)

Cryptoki DLL call to CA_GetTokenInsertionCount.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTokenObjectHandle(*args)

Cryptoki DLL call to CA_GetTokenObjectHandle.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTokenObjectUID(*args)

Cryptoki DLL call to CA_GetTokenObjectUID.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTokenPolicies(*args)

Cryptoki DLL call to CA_GetTokenPolicies.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTokenStatus(*args)

Cryptoki DLL call to CA_GetTokenStatus.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTokenStorageInformation(*args)

Cryptoki DLL call to CA_GetTokenStorageInformation.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetTunnelSlotNumber(*args)

Cryptoki DLL call to CA_GetTunnelSlotNumber.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetUnauthTokenInsertionStatus(*args)

Cryptoki DLL call to CA_GetUnauthTokenInsertionStatus.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetUserContainerName(*args)

Cryptoki DLL call to CA_GetUserContainerName.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_GetUserContainerNumber(*args)

Cryptoki DLL call to CA_GetUserContainerNumber.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_HAActivateMofN(*args)

Cryptoki DLL call to CA_HAActivateMofN.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_HAAnswerLoginChallenge(*args)

Cryptoki DLL call to CA_HAAnswerLoginChallenge.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_HAAnswerMofNChallenge(*args)

Cryptoki DLL call to CA_HAAnswerMofNChallenge.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_HAGetLoginChallenge(*args)

Cryptoki DLL call to CA_HAGetLoginChallenge.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_HAGetMasterPublic(*args)

Cryptoki DLL call to CA_HAGetMasterPublic.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_HAInit(*args)

Cryptoki DLL call to CA_HAInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_HALogin(*args)

Cryptoki DLL call to CA_HALogin.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_IndirectLogin(*args)

Cryptoki DLL call to CA_IndirectLogin.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_InitAudit(*args)

Cryptoki DLL call to CA_InitAudit.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_InitIndirectPIN(*args)

Cryptoki DLL call to CA_InitIndirectPIN.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_InitIndirectToken(*args)

Cryptoki DLL call to CA_InitIndirectToken.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_InitRolePIN(*args)

Cryptoki DLL call to CA_InitRolePIN.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_InitSlotRolePIN(*args)

Cryptoki DLL call to CA_InitSlotRolePIN.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_InitializeRemotePEDVector(*args)

Cryptoki DLL call to CA_InitializeRemotePEDVector.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_Insert(*args)

Cryptoki DLL call to CA_Insert.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
Returns:

c_ulong

pycryptoki.cryptoki.CA_InsertMaskedObject(*args)

Cryptoki DLL call to CA_InsertMaskedObject.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_InvokeService(*args)

Cryptoki DLL call to CA_InvokeService.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_InvokeServiceAsynch(*args)

Cryptoki DLL call to CA_InvokeServiceAsynch.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_InvokeServiceFinal(*args)

Cryptoki DLL call to CA_InvokeServiceFinal.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_InvokeServiceInit(*args)

Cryptoki DLL call to CA_InvokeServiceInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_InvokeServiceSinglePart(*args)

Cryptoki DLL call to CA_InvokeServiceSinglePart.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_IsMofNEnabled(*args)

Cryptoki DLL call to CA_IsMofNEnabled.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_IsMofNRequired(*args)

Cryptoki DLL call to CA_IsMofNRequired.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LKMInitiatorChallenge(*args)

Cryptoki DLL call to CA_LKMInitiatorChallenge.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – LP_CK_LKM_TOKEN_ID_S
  • arg6 – LP_CK_LKM_TOKEN_ID_S
  • arg7 – LP_c_ubyte
  • arg8 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LKMInitiatorComplete(*args)

Cryptoki DLL call to CA_LKMInitiatorComplete.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_CK_ATTRIBUTE
  • arg5 – c_ulong
  • arg6 – LP_CK_ATTRIBUTE
  • arg7 – c_ulong
  • arg8 – LP_c_ubyte
  • arg9 – LP_c_ulong
  • arg10 – LP_c_ulong
  • arg11 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LKMReceiverComplete(*args)

Cryptoki DLL call to CA_LKMReceiverComplete.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_CK_ATTRIBUTE
  • arg5 – c_ulong
  • arg6 – LP_CK_ATTRIBUTE
  • arg7 – c_ulong
  • arg8 – LP_c_ulong
  • arg9 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LKMReceiverResponse(*args)

Cryptoki DLL call to CA_LKMReceiverResponse.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – LP_CK_LKM_TOKEN_ID_S
  • arg6 – LP_c_ubyte
  • arg7 – c_ulong
  • arg8 – LP_c_ubyte
  • arg9 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_ListSecureTokenInit(*args)

Cryptoki DLL call to CA_ListSecureTokenInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_ListSecureTokenUpdate(*args)

Cryptoki DLL call to CA_ListSecureTokenUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LoadEncryptedModule(*args)

Cryptoki DLL call to CA_LoadEncryptedModule.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – c_ulong
  • arg7 – LP_c_ubyte
  • arg8 – c_ulong
  • arg9 – LP_c_ubyte
  • arg10 – c_ulong
  • arg11 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LoadModule(*args)

Cryptoki DLL call to CA_LoadModule.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – c_ulong
  • arg6 – LP_c_ubyte
  • arg7 – c_ulong
  • arg8 – LP_c_ubyte
  • arg9 – c_ulong
  • arg10 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LockClusteredSlot(*args)

Cryptoki DLL call to CA_LockClusteredSlot.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_LogExportSecret(*args)

Cryptoki DLL call to CA_LogExportSecret.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LogExternal(*args)

Cryptoki DLL call to CA_LogExternal.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LogGetConfig(*args)

Cryptoki DLL call to CA_LogGetConfig.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_LogGetStatus(*args)

Cryptoki DLL call to CA_LogGetStatus.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LogImportSecret(*args)

Cryptoki DLL call to CA_LogImportSecret.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LogSetConfig(*args)

Cryptoki DLL call to CA_LogSetConfig.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – c_ulong
  • arg6 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_LogVerify(*args)

Cryptoki DLL call to CA_LogVerify.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_LogVerifyFile(*args)

Cryptoki DLL call to CA_LogVerifyFile.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

class pycryptoki.cryptoki.CA_MOFN_ACTIVATION[source]
pVector

Structure/Union member

ulVectorLen

Structure/Union member

pycryptoki.cryptoki.CA_MOFN_ACTIVATION_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CA_MOFN_ACTIVATION

class pycryptoki.cryptoki.CA_MOFN_GENERATION[source]
pVector

Structure/Union member

ulVectorLen

Structure/Union member

ulWeight

Structure/Union member

pycryptoki.cryptoki.CA_MOFN_GENERATION_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CA_MOFN_GENERATION

pycryptoki.cryptoki.CA_MOFN_STATUS

alias of pycryptoki.cryptoki.ck_defs.CA_M_OF_N_STATUS

pycryptoki.cryptoki.CA_MOFN_STATUS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CA_M_OF_N_STATUS

pycryptoki.cryptoki.CA_MTKGetState(*args)

Cryptoki DLL call to CA_MTKGetState.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_MTKResplit(*args)

Cryptoki DLL call to CA_MTKResplit.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_MTKRestore(*args)

Cryptoki DLL call to CA_MTKRestore.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_MTKSetStorage(*args)

Cryptoki DLL call to CA_MTKSetStorage.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_MTKZeroize(*args)

Cryptoki DLL call to CA_MTKZeroize.

Parameters:arg1 – c_ulong
Returns:c_ulong
class pycryptoki.cryptoki.CA_M_OF_N_STATUS[source]
ulFlag

Structure/Union member

ulID

Structure/Union member

ulM

Structure/Union member

ulN

Structure/Union member

ulSecretSize

Structure/Union member

pycryptoki.cryptoki.CA_ManualKCV(*args)

Cryptoki DLL call to CA_ManualKCV.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_ModifyMofN(*args)

Cryptoki DLL call to CA_ModifyMofN.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_CA_MOFN_GENERATION
  • arg4 – c_ulong
  • arg5 – c_ulong
  • arg6 – c_void_p
Returns:

c_ulong

pycryptoki.cryptoki.CA_ModifyUsageCount(*args)

Cryptoki DLL call to CA_ModifyUsageCount.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_MultisignValue(*args)

Cryptoki DLL call to CA_MultisignValue.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ulong
  • arg7 – LP_LP_c_ubyte
  • arg8 – LP_c_ulong
  • arg9 – LP_LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_OpenApplicationID(*args)

Cryptoki DLL call to CA_OpenApplicationID.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_OpenApplicationIDForContainer(*args)

Cryptoki DLL call to CA_OpenApplicationIDForContainer.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_OpenApplicationIDV2(*args)

Cryptoki DLL call to CA_OpenApplicationIDV2.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_APPLICATION_ID
Returns:

c_ulong

pycryptoki.cryptoki.CA_OpenSecureToken(*args)

Cryptoki DLL call to CA_OpenSecureToken.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – c_ulong
  • arg6 – LP_c_ulong
  • arg7 – LP_c_ulong
  • arg8 – c_ulong
  • arg9 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_OpenSession(*args)

Cryptoki DLL call to CA_OpenSession.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_void_p
  • arg5 – CFunctionType
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_OpenSessionWithAppID(*args)

Cryptoki DLL call to CA_OpenSessionWithAppID.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – c_void_p
  • arg6 – CFunctionType
  • arg7 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_PerformModuleCall(*args)

Cryptoki DLL call to CA_PerformModuleCall.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – c_ulong
  • arg7 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_PerformSelfTest(*args)

Cryptoki DLL call to CA_PerformSelfTest.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_QueryLicense(*args)

Cryptoki DLL call to CA_QueryLicense.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ulong
  • arg7 – LP_c_ubyte
Returns:

c_ulong

class pycryptoki.cryptoki.CA_ROLE_STATE[source]
flags

Structure/Union member

loginAttemptsLeft

Structure/Union member

primaryAuthMech

Structure/Union member

secondaryAuthMech

Structure/Union member

pycryptoki.cryptoki.CA_ReadCommonStore(*args)

Cryptoki DLL call to CA_ReadCommonStore.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_ReplaceFastPathKEK(*args)

Cryptoki DLL call to CA_ReplaceFastPathKEK.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_ResetDevice(*args)

Cryptoki DLL call to CA_ResetDevice.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_ResetPIN(*args)

Cryptoki DLL call to CA_ResetPIN.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_Restart(*args)

Cryptoki DLL call to CA_Restart.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_RestartForContainer(*args)

Cryptoki DLL call to CA_RestartForContainer.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_RetrieveLicenseList(*args)

Cryptoki DLL call to CA_RetrieveLicenseList.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_RoleStateGet(*args)

Cryptoki DLL call to CA_RoleStateGet.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_CA_ROLE_STATE
Returns:

c_ulong

pycryptoki.cryptoki.CA_SIMExtract(*args)

Cryptoki DLL call to CA_SIMExtract.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
  • arg4 – c_ulong
  • arg5 – c_ulong
  • arg6 – c_ulong
  • arg7 – LP_c_ulong
  • arg8 – LP_LP_c_ubyte
  • arg9 – c_ubyte
  • arg10 – LP_c_ulong
  • arg11 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_SIMInsert(*args)

Cryptoki DLL call to CA_SIMInsert.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_LP_c_ubyte
  • arg6 – c_ulong
  • arg7 – LP_c_ubyte
  • arg8 – LP_c_ulong
  • arg9 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SIMMultiSign(*args)

Cryptoki DLL call to CA_SIMMultiSign.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – LP_c_ulong
  • arg6 – LP_LP_c_ubyte
  • arg7 – c_ulong
  • arg8 – LP_c_ubyte
  • arg9 – c_ulong
  • arg10 – LP_c_ulong
  • arg11 – LP_LP_c_ubyte
  • arg12 – LP_c_ulong
  • arg13 – LP_LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCClearCipherAlgorithm(*args)

Cryptoki DLL call to CA_STCClearCipherAlgorithm.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCClearDigestAlgorithm(*args)

Cryptoki DLL call to CA_STCClearDigestAlgorithm.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCDeregister(*args)

Cryptoki DLL call to CA_STCDeregister.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetAdminPubKey(*args)

Cryptoki DLL call to CA_STCGetAdminPubKey.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetChannelID(*args)

Cryptoki DLL call to CA_STCGetChannelID.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetCipherAlgorithm(*args)

Cryptoki DLL call to CA_STCGetCipherAlgorithm.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetCipherID(*args)

Cryptoki DLL call to CA_STCGetCipherID.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetCipherIDs(*args)

Cryptoki DLL call to CA_STCGetCipherIDs.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetCipherNameByID(*args)

Cryptoki DLL call to CA_STCGetCipherNameByID.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetClientInfo(*args)

Cryptoki DLL call to CA_STCGetClientInfo.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ulong
  • arg7 – LP_c_ubyte
  • arg8 – LP_c_ulong
  • arg9 – LP_c_ubyte
  • arg10 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetClientsList(*args)

Cryptoki DLL call to CA_STCGetClientsList.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetCurrentKeyLife(*args)

Cryptoki DLL call to CA_STCGetCurrentKeyLife.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetDigestAlgorithm(*args)

Cryptoki DLL call to CA_STCGetDigestAlgorithm.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetDigestID(*args)

Cryptoki DLL call to CA_STCGetDigestID.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetDigestIDs(*args)

Cryptoki DLL call to CA_STCGetDigestIDs.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetDigestNameByID(*args)

Cryptoki DLL call to CA_STCGetDigestNameByID.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetKeyActivationTimeOut(*args)

Cryptoki DLL call to CA_STCGetKeyActivationTimeOut.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetKeyLifeTime(*args)

Cryptoki DLL call to CA_STCGetKeyLifeTime.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetMaxSessions(*args)

Cryptoki DLL call to CA_STCGetMaxSessions.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetPartPubKey(*args)

Cryptoki DLL call to CA_STCGetPartPubKey.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetPubKey(*args)

Cryptoki DLL call to CA_STCGetPubKey.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
  • arg6 – LP_c_ubyte
  • arg7 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetSequenceWindowSize(*args)

Cryptoki DLL call to CA_STCGetSequenceWindowSize.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCGetState(*args)

Cryptoki DLL call to CA_STCGetState.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCIsEnabled(*args)

Cryptoki DLL call to CA_STCIsEnabled.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCRegister(*args)

Cryptoki DLL call to CA_STCRegister.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – c_ulong
  • arg7 – LP_c_ubyte
  • arg8 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCSetCipherAlgorithm(*args)

Cryptoki DLL call to CA_STCSetCipherAlgorithm.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCSetDigestAlgorithm(*args)

Cryptoki DLL call to CA_STCSetDigestAlgorithm.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCSetKeyActivationTimeOut(*args)

Cryptoki DLL call to CA_STCSetKeyActivationTimeOut.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCSetKeyLifeTime(*args)

Cryptoki DLL call to CA_STCSetKeyLifeTime.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCSetMaxSessions(*args)

Cryptoki DLL call to CA_STCSetMaxSessions.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STCSetSequenceWindowSize(*args)

Cryptoki DLL call to CA_STCSetSequenceWindowSize.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STMGetState(*args)

Cryptoki DLL call to CA_STMGetState.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_STMToggle(*args)

Cryptoki DLL call to CA_STMToggle.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetApplicationID(*args)

Cryptoki DLL call to CA_SetApplicationID.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetApplicationIDV2(*args)

Cryptoki DLL call to CA_SetApplicationIDV2.

Parameters:arg1 – LP_CK_APPLICATION_ID
Returns:c_ulong
pycryptoki.cryptoki.CA_SetCloningDomain(*args)

Cryptoki DLL call to CA_SetCloningDomain.

Parameters:
  • arg1 – LP_c_ubyte
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetContainerPolicies(*args)

Cryptoki DLL call to CA_SetContainerPolicies.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetContainerPolicy(*args)

Cryptoki DLL call to CA_SetContainerPolicy.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetContainerSize(*args)

Cryptoki DLL call to CA_SetContainerSize.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetDestructiveHSMPolicies(*args)

Cryptoki DLL call to CA_SetDestructiveHSMPolicies.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetDestructiveHSMPolicy(*args)

Cryptoki DLL call to CA_SetDestructiveHSMPolicy.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetExtendedTPV(*args)

Cryptoki DLL call to CA_SetExtendedTPV.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetHSMPolicies(*args)

Cryptoki DLL call to CA_SetHSMPolicies.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetHSMPolicy(*args)

Cryptoki DLL call to CA_SetHSMPolicy.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetKCV(*args)

Cryptoki DLL call to CA_SetKCV.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetLKCV(*args)

Cryptoki DLL call to CA_SetLKCV.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetMofN(*args)

Cryptoki DLL call to CA_SetMofN.

Parameters:arg1 – c_ubyte
Returns:c_ulong
pycryptoki.cryptoki.CA_SetPedId(*args)

Cryptoki DLL call to CA_SetPedId.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetRDK(*args)

Cryptoki DLL call to CA_SetRDK.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetTPV(*args)

Cryptoki DLL call to CA_SetTPV.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetTokenCertificateSignature(*args)

Cryptoki DLL call to CA_SetTokenCertificateSignature.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_CK_ATTRIBUTE
  • arg5 – c_ulong
  • arg6 – LP_c_ubyte
  • arg7 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetTokenPolicies(*args)

Cryptoki DLL call to CA_SetTokenPolicies.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SetUserContainerName(*args)

Cryptoki DLL call to CA_SetUserContainerName.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SpRawRead(*args)

Cryptoki DLL call to CA_SpRawRead.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SpRawWrite(*args)

Cryptoki DLL call to CA_SpRawWrite.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_SwitchSecondarySlot(*args)

Cryptoki DLL call to CA_SwitchSecondarySlot.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_TamperClear(*args)

Cryptoki DLL call to CA_TamperClear.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_TimeSync(*args)

Cryptoki DLL call to CA_TimeSync.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_TokenDelete(*args)

Cryptoki DLL call to CA_TokenDelete.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_TokenInsert(*args)

Cryptoki DLL call to CA_TokenInsert.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CT_Token
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_TokenInsertNoAuth(*args)

Cryptoki DLL call to CA_TokenInsertNoAuth.

Parameters:
  • arg1 – LP_CT_Token
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_TokenZeroize(*args)

Cryptoki DLL call to CA_TokenZeroize.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_UnloadModule(*args)

Cryptoki DLL call to CA_UnloadModule.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_UnlockClusteredSlot(*args)

Cryptoki DLL call to CA_UnlockClusteredSlot.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.CA_WaitForSlotEvent(*args)

Cryptoki DLL call to CA_WaitForSlotEvent.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
  • arg4 – c_void_p
Returns:

c_ulong

pycryptoki.cryptoki.CA_WriteCommonStore(*args)

Cryptoki DLL call to CA_WriteCommonStore.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CA_Zeroize(*args)

Cryptoki DLL call to CA_Zeroize.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.CKA_SIM_AUTH_FORM

alias of ctypes.c_ulong

pycryptoki.cryptoki.CKCA_MODULE_ID

alias of ctypes.c_ulong

pycryptoki.cryptoki.CKCA_MODULE_ID_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

class pycryptoki.cryptoki.CKCA_MODULE_INFO[source]
developerName

Structure/Union member

moduleDescription

Structure/Union member

moduleVersion

Structure/Union member

ulModuleSize

Structure/Union member

pycryptoki.cryptoki.CKCA_MODULE_INFO_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CKCA_MODULE_INFO

class pycryptoki.cryptoki.CK_AES_CBC_ENCRYPT_DATA_PARAMS[source]
iv

Structure/Union member

length

Structure/Union member

pData

Structure/Union member

pycryptoki.cryptoki.CK_AES_CBC_ENCRYPT_DATA_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_AES_CBC_ENCRYPT_DATA_PARAMS

class pycryptoki.cryptoki.CK_AES_CBC_PAD_EXTRACT_PARAMS[source]
ctxID

Structure/Union member

pBuffer

Structure/Union member

pbFileName

Structure/Union member

pedId

Structure/Union member

pulBufferLen

Structure/Union member

ulDeleteAfterExtract

Structure/Union member

ulHandle

Structure/Union member

ulStorage

Structure/Union member

ulType

Structure/Union member

pycryptoki.cryptoki.CK_AES_CBC_PAD_EXTRACT_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_AES_CBC_PAD_EXTRACT_PARAMS

class pycryptoki.cryptoki.CK_AES_CBC_PAD_INSERT_PARAMS[source]
ctxID

Structure/Union member

pBuffer

Structure/Union member

pbFileName

Structure/Union member

pedId

Structure/Union member

pulHandle

Structure/Union member

pulType

Structure/Union member

ulBufferLen

Structure/Union member

ulContainerState

Structure/Union member

ulStorage

Structure/Union member

ulStorageType

Structure/Union member

pycryptoki.cryptoki.CK_AES_CBC_PAD_INSERT_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_AES_CBC_PAD_INSERT_PARAMS

class pycryptoki.cryptoki.CK_AES_CTR_PARAMS[source]
cb

Structure/Union member

ulCounterBits

Structure/Union member

pycryptoki.cryptoki.CK_AES_CTR_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_AES_CTR_PARAMS

class pycryptoki.cryptoki.CK_AES_GCM_PARAMS[source]
pAAD

Structure/Union member

pIv

Structure/Union member

ulAADLen

Structure/Union member

ulIvBits

Structure/Union member

ulIvLen

Structure/Union member

ulTagBits

Structure/Union member

pycryptoki.cryptoki.CK_AES_GCM_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.CK_AES_GCM_PARAMS

pycryptoki.cryptoki.CK_AES_GMAC_PARAMS

alias of pycryptoki.cryptoki.ck_defs.CK_AES_GCM_PARAMS

pycryptoki.cryptoki.CK_AES_GMAC_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_AES_GCM_PARAMS

class pycryptoki.cryptoki.CK_AES_XTS_PARAMS[source]
cb

Structure/Union member

hTweakKey

Structure/Union member

pycryptoki.cryptoki.CK_AES_XTS_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_AES_XTS_PARAMS

class pycryptoki.cryptoki.CK_ARIA_CBC_ENCRYPT_DATA_PARAMS[source]
iv

Structure/Union member

length

Structure/Union member

pData

Structure/Union member

pycryptoki.cryptoki.CK_ARIA_CBC_ENCRYPT_DATA_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_ARIA_CBC_ENCRYPT_DATA_PARAMS

pycryptoki.cryptoki.CK_ARIA_CTR_PARAMS

alias of pycryptoki.cryptoki.ck_defs.CK_AES_CTR_PARAMS

pycryptoki.cryptoki.CK_ARIA_CTR_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_AES_CTR_PARAMS

class pycryptoki.cryptoki.CK_ATTRIBUTE[source]
pValue

Structure/Union member

type

Structure/Union member

usValueLen

Structure/Union member

pycryptoki.cryptoki.CK_ATTRIBUTE_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_ATTRIBUTE

pycryptoki.cryptoki.CK_ATTRIBUTE_TYPE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_BBOOL

alias of ctypes.c_ubyte

pycryptoki.cryptoki.CK_BYTE

alias of ctypes.c_ubyte

pycryptoki.cryptoki.CK_BYTE_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ubyte

class pycryptoki.cryptoki.CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS[source]
iv

Structure/Union member

length

Structure/Union member

pData

Structure/Union member

pycryptoki.cryptoki.CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS

class pycryptoki.cryptoki.CK_CAMELLIA_CTR_PARAMS[source]
cb

Structure/Union member

ulCounterBits

Structure/Union member

pycryptoki.cryptoki.CK_CAMELLIA_CTR_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_CAMELLIA_CTR_PARAMS

pycryptoki.cryptoki.CK_CERTIFICATE_TYPE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_CHAR

alias of ctypes.c_ubyte

pycryptoki.cryptoki.CK_CHAR_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ubyte

class pycryptoki.cryptoki.CK_CLUSTER_STATE[source]
bMembers

Structure/Union member

ulMemberStatus

Structure/Union member

pycryptoki.cryptoki.CK_CLUSTER_STATE_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_CLUSTER_STATE

class pycryptoki.cryptoki.CK_CMS_SIG_PARAMS[source]
certificateHandle

Structure/Union member

pContentType

Structure/Union member

pDigestMechanism

Structure/Union member

pRequestedAttributes

Structure/Union member

pRequiredAttributes

Structure/Union member

pSigningMechanism

Structure/Union member

ulRequestedAttributesLen

Structure/Union member

ulRequiredAttributesLen

Structure/Union member

pycryptoki.cryptoki.CK_CMS_SIG_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_CMS_SIG_PARAMS

pycryptoki.cryptoki.CK_CREATEMUTEX

alias of ctypes.CFUNCTYPE.<locals>.CFunctionType

class pycryptoki.cryptoki.CK_DATE[source]
day

Structure/Union member

month

Structure/Union member

year

Structure/Union member

pycryptoki.cryptoki.CK_DESTROYMUTEX

alias of ctypes.CFUNCTYPE.<locals>.CFunctionType

class pycryptoki.cryptoki.CK_DES_CBC_ENCRYPT_DATA_PARAMS[source]
iv

Structure/Union member

length

Structure/Union member

pData

Structure/Union member

pycryptoki.cryptoki.CK_DES_CBC_ENCRYPT_DATA_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_DES_CBC_ENCRYPT_DATA_PARAMS

class pycryptoki.cryptoki.CK_DES_CTR_PARAMS[source]
cb

Structure/Union member

ulCounterBits

Structure/Union member

pycryptoki.cryptoki.CK_DES_CTR_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_DES_CTR_PARAMS

class pycryptoki.cryptoki.CK_ECDH1_DERIVE_PARAMS[source]
kdf

Structure/Union member

pPublicData

Structure/Union member

pSharedData

Structure/Union member

ulPublicDataLen

Structure/Union member

ulSharedDataLen

Structure/Union member

pycryptoki.cryptoki.CK_ECDH1_DERIVE_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_ECDH1_DERIVE_PARAMS

class pycryptoki.cryptoki.CK_ECDH2_DERIVE_PARAMS[source]
hPrivateData

Structure/Union member

kdf

Structure/Union member

pPublicData

Structure/Union member

pPublicData2

Structure/Union member

pSharedData

Structure/Union member

ulPrivateDataLen

Structure/Union member

ulPublicDataLen

Structure/Union member

ulPublicDataLen2

Structure/Union member

ulSharedDataLen

Structure/Union member

pycryptoki.cryptoki.CK_ECDH2_DERIVE_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_ECDH2_DERIVE_PARAMS

class pycryptoki.cryptoki.CK_ECIES_PARAMS[source]
dhPrimitive

Structure/Union member

encScheme

Structure/Union member

kdf

Structure/Union member

macScheme

Structure/Union member

pSharedData1

Structure/Union member

pSharedData2

Structure/Union member

ulEncKeyLenInBits

Structure/Union member

ulMacKeyLenInBits

Structure/Union member

ulMacLenInBits

Structure/Union member

ulSharedDataLen1

Structure/Union member

ulSharedDataLen2

Structure/Union member

pycryptoki.cryptoki.CK_ECIES_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_ECIES_PARAMS

class pycryptoki.cryptoki.CK_ECMQV_DERIVE_PARAMS[source]
hPrivateData

Structure/Union member

kdf

Structure/Union member

pPublicData

Structure/Union member

pPublicData2

Structure/Union member

pSharedData

Structure/Union member

publicKey

Structure/Union member

ulPrivateDataLen

Structure/Union member

ulPublicDataLen

Structure/Union member

ulPublicDataLen2

Structure/Union member

ulSharedDataLen

Structure/Union member

pycryptoki.cryptoki.CK_ECMQV_DERIVE_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_ECMQV_DERIVE_PARAMS

pycryptoki.cryptoki.CK_EC_DH_PRIMITIVE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_EC_ENC_SCHEME

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_EC_KDF_TYPE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_EC_MAC_SCHEME

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_EXTRACT_PARAMS

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_EXTRACT_PARAMS_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

pycryptoki.cryptoki.CK_FLAGS

alias of ctypes.c_ulong

class pycryptoki.cryptoki.CK_FUNCTION_LIST[source]
C_CancelFunction

Structure/Union member

C_CloseAllSessions

Structure/Union member

C_CloseSession

Structure/Union member

C_CopyObject

Structure/Union member

C_CreateObject

Structure/Union member

C_Decrypt

Structure/Union member

C_DecryptDigestUpdate

Structure/Union member

C_DecryptFinal

Structure/Union member

C_DecryptInit

Structure/Union member

C_DecryptUpdate

Structure/Union member

C_DecryptVerifyUpdate

Structure/Union member

C_DeriveKey

Structure/Union member

C_DestroyObject

Structure/Union member

C_Digest

Structure/Union member

C_DigestEncryptUpdate

Structure/Union member

C_DigestFinal

Structure/Union member

C_DigestInit

Structure/Union member

C_DigestKey

Structure/Union member

C_DigestUpdate

Structure/Union member

C_Encrypt

Structure/Union member

C_EncryptFinal

Structure/Union member

C_EncryptInit

Structure/Union member

C_EncryptUpdate

Structure/Union member

C_Finalize

Structure/Union member

C_FindObjects

Structure/Union member

C_FindObjectsFinal

Structure/Union member

C_FindObjectsInit

Structure/Union member

C_GenerateKey

Structure/Union member

C_GenerateKeyPair

Structure/Union member

C_GenerateRandom

Structure/Union member

C_GetAttributeValue

Structure/Union member

C_GetFunctionList

Structure/Union member

C_GetFunctionStatus

Structure/Union member

C_GetInfo

Structure/Union member

C_GetMechanismInfo

Structure/Union member

C_GetMechanismList

Structure/Union member

C_GetObjectSize

Structure/Union member

C_GetOperationState

Structure/Union member

C_GetSessionInfo

Structure/Union member

C_GetSlotInfo

Structure/Union member

C_GetSlotList

Structure/Union member

C_GetTokenInfo

Structure/Union member

C_InitPIN

Structure/Union member

C_InitToken

Structure/Union member

C_Initialize

Structure/Union member

C_Login

Structure/Union member

C_Logout

Structure/Union member

C_OpenSession

Structure/Union member

C_SeedRandom

Structure/Union member

C_SetAttributeValue

Structure/Union member

C_SetOperationState

Structure/Union member

C_SetPIN

Structure/Union member

C_Sign

Structure/Union member

C_SignEncryptUpdate

Structure/Union member

C_SignFinal

Structure/Union member

C_SignInit

Structure/Union member

C_SignRecover

Structure/Union member

C_SignRecoverInit

Structure/Union member

C_SignUpdate

Structure/Union member

C_UnwrapKey

Structure/Union member

C_Verify

Structure/Union member

C_VerifyFinal

Structure/Union member

C_VerifyInit

Structure/Union member

C_VerifyRecover

Structure/Union member

C_VerifyRecoverInit

Structure/Union member

C_VerifyUpdate

Structure/Union member

C_WaitForSlotEvent

Structure/Union member

C_WrapKey

Structure/Union member

version

Structure/Union member

pycryptoki.cryptoki.CK_FUNCTION_LIST_PTR

alias of pycryptoki.cryptoki._ck_func_list.LP_CK_FUNCTION_LIST

pycryptoki.cryptoki.CK_FUNCTION_LIST_PTR_PTR

alias of pycryptoki.cryptoki._ck_func_list.LP_LP_CK_FUNCTION_LIST

pycryptoki.cryptoki.CK_GetTotalOperations

alias of ctypes.CFUNCTYPE.<locals>.CFunctionType

class pycryptoki.cryptoki.CK_HA_MEMBER[source]
memberSerial

Structure/Union member

memberStatus

Structure/Union member

pycryptoki.cryptoki.CK_HA_MEMBER_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_HA_MEMBER

pycryptoki.cryptoki.CK_HA_STATE_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_HA_STATUS

class pycryptoki.cryptoki.CK_HA_STATUS[source]
groupSerial

Structure/Union member

listSize

Structure/Union member

memberList

Structure/Union member

pycryptoki.cryptoki.CK_HW_FEATURE_TYPE

alias of ctypes.c_ulong

class pycryptoki.cryptoki.CK_INFO[source]
cryptokiVersion

Structure/Union member

flags

Structure/Union member

libraryDescription

Structure/Union member

libraryVersion

Structure/Union member

manufacturerID

Structure/Union member

pycryptoki.cryptoki.CK_INFO_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_INFO

pycryptoki.cryptoki.CK_KDF_PRF_ENCODING_SCHEME

alias of ctypes.c_ulong

class pycryptoki.cryptoki.CK_KDF_PRF_PARAMS[source]
pContext

Structure/Union member

pLabel

Structure/Union member

prfType

Structure/Union member

ulContextLen

Structure/Union member

ulCounter

Structure/Union member

ulEncodingScheme

Structure/Union member

ulLabelLen

Structure/Union member

pycryptoki.cryptoki.CK_KDF_PRF_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_KDF_PRF_PARAMS

pycryptoki.cryptoki.CK_KDF_PRF_TYPE

alias of ctypes.c_ulong

class pycryptoki.cryptoki.CK_KEA_DERIVE_PARAMS[source]
isSender

Structure/Union member

pPublicData

Structure/Union member

pRandomA

Structure/Union member

pRandomB

Structure/Union member

ulPublicDataLen

Structure/Union member

ulRandomLen

Structure/Union member

pycryptoki.cryptoki.CK_KEA_DERIVE_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_KEA_DERIVE_PARAMS

class pycryptoki.cryptoki.CK_KEY_DERIVATION_STRING_DATA[source]
pData

Structure/Union member

ulLen

Structure/Union member

pycryptoki.cryptoki.CK_KEY_DERIVATION_STRING_DATA_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_KEY_DERIVATION_STRING_DATA

pycryptoki.cryptoki.CK_KEY_TYPE

alias of ctypes.c_ulong

class pycryptoki.cryptoki.CK_KEY_WRAP_SET_OAEP_PARAMS[source]
bBC

Structure/Union member

pX

Structure/Union member

ulXLen

Structure/Union member

pycryptoki.cryptoki.CK_KEY_WRAP_SET_OAEP_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_KEY_WRAP_SET_OAEP_PARAMS

class pycryptoki.cryptoki.CK_KIP_PARAMS[source]
hKey

Structure/Union member

pMechanism

Structure/Union member

pSeed

Structure/Union member

ulSeedLen

Structure/Union member

pycryptoki.cryptoki.CK_KIP_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_KIP_PARAMS

pycryptoki.cryptoki.CK_LKM_TOKEN_ID

alias of pycryptoki.cryptoki.ck_defs.CK_LKM_TOKEN_ID_S

pycryptoki.cryptoki.CK_LKM_TOKEN_ID_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_LKM_TOKEN_ID_S

class pycryptoki.cryptoki.CK_LKM_TOKEN_ID_S[source]
id

Structure/Union member

pycryptoki.cryptoki.CK_LOCKMUTEX

alias of ctypes.CFUNCTYPE.<locals>.CFunctionType

pycryptoki.cryptoki.CK_LONG

alias of ctypes.c_long

pycryptoki.cryptoki.CK_MAC_GENERAL_PARAMS

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_MAC_GENERAL_PARAMS_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

class pycryptoki.cryptoki.CK_MECHANISM[source]
mechanism

Structure/Union member

pParameter

Structure/Union member

usParameterLen

Structure/Union member

class pycryptoki.cryptoki.CK_MECHANISM_INFO[source]
flags

Structure/Union member

ulMaxKeySize

Structure/Union member

ulMinKeySize

Structure/Union member

pycryptoki.cryptoki.CK_MECHANISM_INFO_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_MECHANISM_INFO

pycryptoki.cryptoki.CK_MECHANISM_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_MECHANISM

pycryptoki.cryptoki.CK_MECHANISM_TYPE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_MECHANISM_TYPE_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

pycryptoki.cryptoki.CK_NOTIFICATION

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_NOTIFY

alias of ctypes.CFUNCTYPE.<locals>.CFunctionType

pycryptoki.cryptoki.CK_OBJECT_CLASS

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_OBJECT_CLASS_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

pycryptoki.cryptoki.CK_OBJECT_HANDLE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_OBJECT_HANDLE_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

class pycryptoki.cryptoki.CK_OTP_PARAM[source]
pValue

Structure/Union member

type

Structure/Union member

usValueLen

Structure/Union member

class pycryptoki.cryptoki.CK_OTP_PARAMS[source]
pParams

Structure/Union member

ulCount

Structure/Union member

pycryptoki.cryptoki.CK_OTP_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_OTP_PARAMS

pycryptoki.cryptoki.CK_OTP_PARAM_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_OTP_PARAM

pycryptoki.cryptoki.CK_OTP_PARAM_TYPE

alias of ctypes.c_ulong

class pycryptoki.cryptoki.CK_OTP_SIGNATURE_INFO[source]
pParams

Structure/Union member

ulCount

Structure/Union member

pycryptoki.cryptoki.CK_OTP_SIGNATURE_INFO_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_OTP_SIGNATURE_INFO

pycryptoki.cryptoki.CK_PARAM_TYPE

alias of ctypes.c_ulong

class pycryptoki.cryptoki.CK_PBE_PARAMS[source]
pInitVector

Structure/Union member

pPassword

Structure/Union member

pSalt

Structure/Union member

usIteration

Structure/Union member

usPasswordLen

Structure/Union member

usSaltLen

Structure/Union member

pycryptoki.cryptoki.CK_PBE_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_PBE_PARAMS

class pycryptoki.cryptoki.CK_PKCS5_PBKD2_PARAMS[source]
iterations

Structure/Union member

pPassword

Structure/Union member

pPrfData

Structure/Union member

pSaltSourceData

Structure/Union member

prf

Structure/Union member

saltSource

Structure/Union member

ulPrfDataLen

Structure/Union member

ulSaltSourceDataLen

Structure/Union member

usPasswordLen

Structure/Union member

pycryptoki.cryptoki.CK_PKCS5_PBKD2_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_PKCS5_PBKD2_PARAMS

pycryptoki.cryptoki.CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

pycryptoki.cryptoki.CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

pycryptoki.cryptoki.CK_PRF_KDF_PARAMS

alias of pycryptoki.cryptoki.ck_defs.CK_KDF_PRF_PARAMS

class pycryptoki.cryptoki.CK_RC2_CBC_PARAMS[source]
iv

Structure/Union member

usEffectiveBits

Structure/Union member

pycryptoki.cryptoki.CK_RC2_CBC_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_RC2_CBC_PARAMS

class pycryptoki.cryptoki.CK_RC2_MAC_GENERAL_PARAMS[source]
ulMacLength

Structure/Union member

usEffectiveBits

Structure/Union member

pycryptoki.cryptoki.CK_RC2_MAC_GENERAL_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_RC2_MAC_GENERAL_PARAMS

pycryptoki.cryptoki.CK_RC2_PARAMS

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_RC2_PARAMS_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

class pycryptoki.cryptoki.CK_RC5_CBC_PARAMS[source]
pIv

Structure/Union member

ulIvLen

Structure/Union member

ulRounds

Structure/Union member

ulWordsize

Structure/Union member

pycryptoki.cryptoki.CK_RC5_CBC_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_RC5_CBC_PARAMS

class pycryptoki.cryptoki.CK_RC5_MAC_GENERAL_PARAMS[source]
ulMacLength

Structure/Union member

ulRounds

Structure/Union member

ulWordsize

Structure/Union member

pycryptoki.cryptoki.CK_RC5_MAC_GENERAL_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_RC5_MAC_GENERAL_PARAMS

class pycryptoki.cryptoki.CK_RC5_PARAMS[source]
ulRounds

Structure/Union member

ulWordsize

Structure/Union member

pycryptoki.cryptoki.CK_RC5_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_RC5_PARAMS

pycryptoki.cryptoki.CK_RSA_PKCS_MGF_TYPE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_RSA_PKCS_MGF_TYPE_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

class pycryptoki.cryptoki.CK_RSA_PKCS_OAEP_PARAMS[source]
hashAlg

Structure/Union member

mgf

Structure/Union member

pSourceData

Structure/Union member

source

Structure/Union member

ulSourceDataLen

Structure/Union member

pycryptoki.cryptoki.CK_RSA_PKCS_OAEP_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_RSA_PKCS_OAEP_PARAMS

pycryptoki.cryptoki.CK_RSA_PKCS_OAEP_SOURCE_TYPE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_RSA_PKCS_OAEP_SOURCE_TYPE_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

class pycryptoki.cryptoki.CK_RSA_PKCS_PSS_PARAMS[source]
hashAlg

Structure/Union member

mgf

Structure/Union member

usSaltLen

Structure/Union member

pycryptoki.cryptoki.CK_RSA_PKCS_PSS_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_RSA_PKCS_PSS_PARAMS

pycryptoki.cryptoki.CK_RV

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_ResetTotalOperations

alias of ctypes.CFUNCTYPE.<locals>.CFunctionType

pycryptoki.cryptoki.CK_SEED_CTR_PARAMS

alias of pycryptoki.cryptoki.ck_defs.CK_AES_CTR_PARAMS

pycryptoki.cryptoki.CK_SEED_CTR_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_AES_CTR_PARAMS

pycryptoki.cryptoki.CK_SESSION_HANDLE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_SESSION_HANDLE_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

class pycryptoki.cryptoki.CK_SESSION_INFO[source]
flags

Structure/Union member

slotID

Structure/Union member

state

Structure/Union member

usDeviceError

Structure/Union member

pycryptoki.cryptoki.CK_SESSION_INFO_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_SESSION_INFO

class pycryptoki.cryptoki.CK_SFNT_CA_FUNCTION_LIST[source]
CA_ActivateMofN

Structure/Union member

CA_AuthorizeKey

Structure/Union member

CA_CapabilityUpdate

Structure/Union member

CA_CheckOperationState

Structure/Union member

CA_ChoosePrimarySlot

Structure/Union member

CA_ChooseSecondarySlot

Structure/Union member

CA_CloneAllObjectsToSession

Structure/Union member

CA_CloneAsSource

Structure/Union member

CA_CloneAsTarget

Structure/Union member

CA_CloneAsTargetInit

Structure/Union member

CA_CloneModifyMofN

Structure/Union member

CA_CloneMofN

Structure/Union member

CA_CloneObject

Structure/Union member

CA_CloneObjectToAllSessions

Structure/Union member

CA_ClonePrivateKey

Structure/Union member

CA_CloseAllSecondarySessions

Structure/Union member

CA_CloseApplicationID

Structure/Union member

CA_CloseApplicationIDForContainer

Structure/Union member

CA_CloseSecondarySession

Structure/Union member

CA_CloseSecureToken

Structure/Union member

CA_ConfigureRemotePED

Structure/Union member

CA_CreateContainer

Structure/Union member

CA_CreateContainerLoginChallenge

Structure/Union member

CA_CreateLoginChallenge

Structure/Union member

CA_Deactivate

Structure/Union member

CA_DeactivateMofN

Structure/Union member

CA_DeleteContainer

Structure/Union member

CA_DeleteContainerWithHandle

Structure/Union member

CA_DeleteRemotePEDVector

Structure/Union member

CA_DescribeUtilizationBinId

Structure/Union member

CA_DestroyMultipleObjects

Structure/Union member

CA_DisableUnauthTokenInsertion

Structure/Union member

CA_DismantleRemotePED

Structure/Union member

CA_DuplicateMofN

Structure/Union member

CA_EnableUnauthTokenInsertion

Structure/Union member

CA_EncodeECChar2Params

Structure/Union member

CA_EncodeECParamsFromFile

Structure/Union member

CA_EncodeECPrimeParams

Structure/Union member

CA_Extract

Structure/Union member

CA_ExtractMaskedObject

Structure/Union member

CA_FactoryReset

Structure/Union member

CA_FindAdminSlotForSlot

Structure/Union member

CA_FirmwareRollback

Structure/Union member

CA_FirmwareUpdate

Structure/Union member

CA_GenerateCloneableMofN

Structure/Union member

CA_GenerateCloningKEV

Structure/Union member

CA_GenerateMofN

Structure/Union member

CA_GenerateTokenKeys

Structure/Union member

CA_GetCVFirmwareVersion

Structure/Union member

CA_GetClusterState

Structure/Union member

CA_GetConfigurationElementDescription

Structure/Union member

CA_GetContainerCapabilitySet

Structure/Union member

CA_GetContainerCapabilitySetting

Structure/Union member

CA_GetContainerList

Structure/Union member

CA_GetContainerName

Structure/Union member

CA_GetContainerPolicySet

Structure/Union member

CA_GetContainerPolicySetting

Structure/Union member

CA_GetContainerStatus

Structure/Union member

CA_GetContainerStorageInformation

Structure/Union member

CA_GetExtendedTPV

Structure/Union member

CA_GetFPV

Structure/Union member

CA_GetFirmwareVersion

Structure/Union member

CA_GetFunctionList

Structure/Union member

CA_GetHAState

Structure/Union member

CA_GetHSMCapabilitySet

Structure/Union member

CA_GetHSMCapabilitySetting

Structure/Union member

CA_GetHSMPolicySet

Structure/Union member

CA_GetHSMPolicySetting

Structure/Union member

CA_GetHSMStats

Structure/Union member

CA_GetHSMStorageInformation

Structure/Union member

CA_GetModuleInfo

Structure/Union member

CA_GetModuleList

Structure/Union member

CA_GetMofNStatus

Structure/Union member

CA_GetNumberOfAllowedContainers

Structure/Union member

CA_GetObjectHandle

Structure/Union member

CA_GetObjectUID

Structure/Union member

CA_GetPedId

Structure/Union member

CA_GetPrimarySlot

Structure/Union member

CA_GetRemotePEDVectorStatus

Structure/Union member

CA_GetRollbackFirmwareVersion

Structure/Union member

CA_GetSecondarySlot

Structure/Union member

CA_GetSecureElementMeta

Structure/Union member

CA_GetServerInstanceBySlotID

Structure/Union member

CA_GetSessionInfo

Structure/Union member

CA_GetSlotIdForContainer

Structure/Union member

CA_GetSlotIdForPhysicalSlot

Structure/Union member

CA_GetSlotListFromServerInstance

Structure/Union member

CA_GetTPV

Structure/Union member

CA_GetTSV

Structure/Union member

CA_GetTime

Structure/Union member

CA_GetTokenCapabilities

Structure/Union member

CA_GetTokenCertificateInfo

Structure/Union member

CA_GetTokenCertificates

Structure/Union member

CA_GetTokenInsertionCount

Structure/Union member

CA_GetTokenObjectHandle

Structure/Union member

CA_GetTokenObjectUID

Structure/Union member

CA_GetTokenPolicies

Structure/Union member

CA_GetTokenStatus

Structure/Union member

CA_GetTokenStorageInformation

Structure/Union member

CA_GetTunnelSlotNumber

Structure/Union member

CA_GetUnauthTokenInsertionStatus

Structure/Union member

CA_GetUserContainerName

Structure/Union member

CA_GetUserContainerNumber

Structure/Union member

CA_HAActivateMofN

Structure/Union member

CA_HAAnswerLoginChallenge

Structure/Union member

CA_HAAnswerMofNChallenge

Structure/Union member

CA_HAGetLoginChallenge

Structure/Union member

CA_HAGetMasterPublic

Structure/Union member

CA_HAInit

Structure/Union member

CA_HALogin

Structure/Union member

CA_IndirectLogin

Structure/Union member

CA_InitAudit

Structure/Union member

CA_InitIndirectPIN

Structure/Union member

CA_InitIndirectToken

Structure/Union member

CA_InitRolePIN

Structure/Union member

CA_InitSlotRolePIN

Structure/Union member

CA_InitializeRemotePEDVector

Structure/Union member

CA_Insert

Structure/Union member

CA_InsertMaskedObject

Structure/Union member

CA_InvokeService

Structure/Union member

CA_InvokeServiceAsynch

Structure/Union member

CA_InvokeServiceFinal

Structure/Union member

CA_InvokeServiceInit

Structure/Union member

CA_InvokeServiceSinglePart

Structure/Union member

CA_IsMofNEnabled

Structure/Union member

CA_IsMofNRequired

Structure/Union member

CA_LKMInitiatorChallenge

Structure/Union member

CA_LKMInitiatorComplete

Structure/Union member

CA_LKMReceiverComplete

Structure/Union member

CA_LKMReceiverResponse

Structure/Union member

CA_ListSecureTokenInit

Structure/Union member

CA_ListSecureTokenUpdate

Structure/Union member

CA_LoadEncryptedModule

Structure/Union member

CA_LoadModule

Structure/Union member

CA_LockClusteredSlot

Structure/Union member

CA_LogExportSecret

Structure/Union member

CA_LogExternal

Structure/Union member

CA_LogGetConfig

Structure/Union member

CA_LogGetStatus

Structure/Union member

CA_LogImportSecret

Structure/Union member

CA_LogSetConfig

Structure/Union member

CA_LogVerify

Structure/Union member

CA_LogVerifyFile

Structure/Union member

CA_MTKGetState

Structure/Union member

CA_MTKResplit

Structure/Union member

CA_MTKRestore

Structure/Union member

CA_MTKSetStorage

Structure/Union member

CA_MTKZeroize

Structure/Union member

CA_ManualKCV

Structure/Union member

CA_ModifyMofN

Structure/Union member

CA_ModifyUsageCount

Structure/Union member

CA_MultisignValue

Structure/Union member

CA_OpenApplicationID

Structure/Union member

CA_OpenApplicationIDForContainer

Structure/Union member

CA_OpenSecureToken

Structure/Union member

CA_OpenSession

Structure/Union member

CA_OpenSessionWithAppID

Structure/Union member

CA_PerformModuleCall

Structure/Union member

CA_PerformSelfTest

Structure/Union member

CA_QueryLicense

Structure/Union member

CA_ReadAllUtilizationCounters

Structure/Union member

CA_ReadAndResetUtilizationMetrics

Structure/Union member

CA_ReadCommonStore

Structure/Union member

CA_ReadUtilizationMetrics

Structure/Union member

CA_ReplaceFastPathKEK

Structure/Union member

CA_ResetDevice

Structure/Union member

CA_ResetPIN

Structure/Union member

CA_Restart

Structure/Union member

CA_RestartForContainer

Structure/Union member

CA_RetrieveLicenseList

Structure/Union member

CA_RoleStateGet

Structure/Union member

CA_SIMExtract

Structure/Union member

CA_SIMInsert

Structure/Union member

CA_SIMMultiSign

Structure/Union member

CA_STCClearCipherAlgorithm

Structure/Union member

CA_STCClearDigestAlgorithm

Structure/Union member

CA_STCDeregister

Structure/Union member

CA_STCGetAdminPubKey

Structure/Union member

CA_STCGetChannelID

Structure/Union member

CA_STCGetCipherAlgorithm

Structure/Union member

CA_STCGetCipherID

Structure/Union member

CA_STCGetCipherIDs

Structure/Union member

CA_STCGetCipherNameByID

Structure/Union member

CA_STCGetClientInfo

Structure/Union member

CA_STCGetClientsList

Structure/Union member

CA_STCGetCurrentKeyLife

Structure/Union member

CA_STCGetDigestAlgorithm

Structure/Union member

CA_STCGetDigestID

Structure/Union member

CA_STCGetDigestIDs

Structure/Union member

CA_STCGetDigestNameByID

Structure/Union member

CA_STCGetKeyActivationTimeOut

Structure/Union member

CA_STCGetKeyLifeTime

Structure/Union member

CA_STCGetMaxSessions

Structure/Union member

CA_STCGetPartPubKey

Structure/Union member

CA_STCGetPubKey

Structure/Union member

CA_STCGetSequenceWindowSize

Structure/Union member

CA_STCGetState

Structure/Union member

CA_STCIsEnabled

Structure/Union member

CA_STCRegister

Structure/Union member

CA_STCSetCipherAlgorithm

Structure/Union member

CA_STCSetDigestAlgorithm

Structure/Union member

CA_STCSetKeyActivationTimeOut

Structure/Union member

CA_STCSetKeyLifeTime

Structure/Union member

CA_STCSetMaxSessions

Structure/Union member

CA_STCSetSequenceWindowSize

Structure/Union member

CA_STMGetState

Structure/Union member

CA_STMToggle

Structure/Union member

CA_SetApplicationID

Structure/Union member

CA_SetAuthorizationData

Structure/Union member

CA_SetCloningDomain

Structure/Union member

CA_SetContainerPolicies

Structure/Union member

CA_SetContainerPolicy

Structure/Union member

CA_SetContainerSize

Structure/Union member

CA_SetDestructiveHSMPolicies

Structure/Union member

CA_SetDestructiveHSMPolicy

Structure/Union member

CA_SetExtendedTPV

Structure/Union member

CA_SetHSMPolicies

Structure/Union member

CA_SetHSMPolicy

Structure/Union member

CA_SetKCV

Structure/Union member

CA_SetLKCV

Structure/Union member

CA_SetMofN

Structure/Union member

CA_SetPedId

Structure/Union member

CA_SetRDK

Structure/Union member

CA_SetTPV

Structure/Union member

CA_SetTokenCertificateSignature

Structure/Union member

CA_SetTokenPolicies

Structure/Union member

CA_SetUserContainerName

Structure/Union member

CA_SpRawRead

Structure/Union member

CA_SpRawWrite

Structure/Union member

CA_SwitchSecondarySlot

Structure/Union member

CA_TimeSync

Structure/Union member

CA_TokenDelete

Structure/Union member

CA_TokenInsert

Structure/Union member

CA_TokenInsertNoAuth

Structure/Union member

CA_TokenZeroize

Structure/Union member

CA_UnloadModule

Structure/Union member

CA_UnlockClusteredSlot

Structure/Union member

CA_WaitForSlotEvent

Structure/Union member

CA_WriteCommonStore

Structure/Union member

CA_Zeroize

Structure/Union member

version

Structure/Union member

pycryptoki.cryptoki.CK_SFNT_CA_FUNCTION_LIST_PTR

alias of pycryptoki.cryptoki._ck_func_list.LP_CK_SFNT_CA_FUNCTION_LIST

pycryptoki.cryptoki.CK_SFNT_CA_FUNCTION_LIST_PTR_PTR

alias of pycryptoki.cryptoki._ck_func_list.LP_LP_CK_SFNT_CA_FUNCTION_LIST

class pycryptoki.cryptoki.CK_SKIPJACK_PRIVATE_WRAP_PARAMS[source]
pBaseG

Structure/Union member

pPassword

Structure/Union member

pPrimeP

Structure/Union member

pPublicData

Structure/Union member

pRandomA

Structure/Union member

pSubprimeQ

Structure/Union member

ulPAndGLen

Structure/Union member

ulPublicDataLen

Structure/Union member

ulQLen

Structure/Union member

ulRandomLen

Structure/Union member

usPasswordLen

Structure/Union member

pycryptoki.cryptoki.CK_SKIPJACK_PRIVATE_WRAP_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_SKIPJACK_PRIVATE_WRAP_PARAMS

class pycryptoki.cryptoki.CK_SKIPJACK_RELAYX_PARAMS[source]
pNewPassword

Structure/Union member

pNewPublicData

Structure/Union member

pNewRandomA

Structure/Union member

pOldPassword

Structure/Union member

pOldPublicData

Structure/Union member

pOldRandomA

Structure/Union member

pOldWrappedX

Structure/Union member

ulNewPasswordLen

Structure/Union member

ulNewPublicDataLen

Structure/Union member

ulNewRandomLen

Structure/Union member

ulOldPasswordLen

Structure/Union member

ulOldPublicDataLen

Structure/Union member

ulOldRandomLen

Structure/Union member

ulOldWrappedXLen

Structure/Union member

pycryptoki.cryptoki.CK_SKIPJACK_RELAYX_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_SKIPJACK_RELAYX_PARAMS

pycryptoki.cryptoki.CK_SLOT_ID

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_SLOT_ID_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

class pycryptoki.cryptoki.CK_SLOT_INFO[source]
firmwareVersion

Structure/Union member

flags

Structure/Union member

hardwareVersion

Structure/Union member

manufacturerID

Structure/Union member

slotDescription

Structure/Union member

pycryptoki.cryptoki.CK_SLOT_INFO_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_SLOT_INFO

class pycryptoki.cryptoki.CK_SSL3_KEY_MAT_OUT[source]
hClientKey

Structure/Union member

hClientMacSecret

Structure/Union member

hServerKey

Structure/Union member

hServerMacSecret

Structure/Union member

pIVClient

Structure/Union member

pIVServer

Structure/Union member

pycryptoki.cryptoki.CK_SSL3_KEY_MAT_OUT_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_SSL3_KEY_MAT_OUT

class pycryptoki.cryptoki.CK_SSL3_KEY_MAT_PARAMS[source]
RandomInfo

Structure/Union member

bIsExport

Structure/Union member

pReturnedKeyMaterial

Structure/Union member

ulIVSizeInBits

Structure/Union member

ulKeySizeInBits

Structure/Union member

ulMacSizeInBits

Structure/Union member

pycryptoki.cryptoki.CK_SSL3_KEY_MAT_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_SSL3_KEY_MAT_PARAMS

class pycryptoki.cryptoki.CK_SSL3_MASTER_KEY_DERIVE_PARAMS[source]
RandomInfo

Structure/Union member

pVersion

Structure/Union member

pycryptoki.cryptoki.CK_SSL3_MASTER_KEY_DERIVE_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_SSL3_MASTER_KEY_DERIVE_PARAMS

class pycryptoki.cryptoki.CK_SSL3_RANDOM_DATA[source]
pClientRandom

Structure/Union member

pServerRandom

Structure/Union member

ulClientRandomLen

Structure/Union member

ulServerRandomLen

Structure/Union member

pycryptoki.cryptoki.CK_STATE

alias of ctypes.c_ulong

class pycryptoki.cryptoki.CK_TLS_PRF_PARAMS[source]
pLabel

Structure/Union member

pOutput

Structure/Union member

pSeed

Structure/Union member

pulOutputLen

Structure/Union member

ulLabelLen

Structure/Union member

ulSeedLen

Structure/Union member

pycryptoki.cryptoki.CK_TLS_PRF_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_TLS_PRF_PARAMS

class pycryptoki.cryptoki.CK_TOKEN_INFO[source]
firmwareVersion

Structure/Union member

flags

Structure/Union member

hardwareVersion

Structure/Union member

label

Structure/Union member

manufacturerID

Structure/Union member

model

Structure/Union member

serialNumber

Structure/Union member

ulFreePrivateMemory

Structure/Union member

ulFreePublicMemory

Structure/Union member

ulTotalPrivateMemory

Structure/Union member

ulTotalPublicMemory

Structure/Union member

usMaxPinLen

Structure/Union member

usMaxRwSessionCount

Structure/Union member

usMaxSessionCount

Structure/Union member

usMinPinLen

Structure/Union member

usRwSessionCount

Structure/Union member

usSessionCount

Structure/Union member

utcTime

Structure/Union member

pycryptoki.cryptoki.CK_TOKEN_INFO_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_TOKEN_INFO

pycryptoki.cryptoki.CK_ULONG

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_ULONG_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

pycryptoki.cryptoki.CK_UNLOCKMUTEX

alias of ctypes.CFUNCTYPE.<locals>.CFunctionType

pycryptoki.cryptoki.CK_USER_TYPE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_USHORT

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_USHORT_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

pycryptoki.cryptoki.CK_UTF8CHAR

alias of ctypes.c_ubyte

pycryptoki.cryptoki.CK_UTF8CHAR_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ubyte

class pycryptoki.cryptoki.CK_VERSION[source]
major

Structure/Union member

minor

Structure/Union member

pycryptoki.cryptoki.CK_VERSION_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_VERSION

pycryptoki.cryptoki.CK_VOID_PTR

alias of ctypes.c_void_p

pycryptoki.cryptoki.CK_VOID_PTR_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_void_p

class pycryptoki.cryptoki.CK_WTLS_KEY_MAT_OUT[source]
hKey

Structure/Union member

hMacSecret

Structure/Union member

pIV

Structure/Union member

pycryptoki.cryptoki.CK_WTLS_KEY_MAT_OUT_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_WTLS_KEY_MAT_OUT

class pycryptoki.cryptoki.CK_WTLS_KEY_MAT_PARAMS[source]
DigestMechanism

Structure/Union member

RandomInfo

Structure/Union member

bIsExport

Structure/Union member

pReturnedKeyMaterial

Structure/Union member

ulIVSizeInBits

Structure/Union member

ulKeySizeInBits

Structure/Union member

ulMacSizeInBits

Structure/Union member

ulSequenceNumber

Structure/Union member

pycryptoki.cryptoki.CK_WTLS_KEY_MAT_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_WTLS_KEY_MAT_PARAMS

class pycryptoki.cryptoki.CK_WTLS_MASTER_KEY_DERIVE_PARAMS[source]
DigestMechanism

Structure/Union member

RandomInfo

Structure/Union member

pVersion

Structure/Union member

pycryptoki.cryptoki.CK_WTLS_MASTER_KEY_DERIVE_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_WTLS_MASTER_KEY_DERIVE_PARAMS

class pycryptoki.cryptoki.CK_WTLS_PRF_PARAMS[source]
DigestMechanism

Structure/Union member

pLabel

Structure/Union member

pOutput

Structure/Union member

pSeed

Structure/Union member

pulOutputLen

Structure/Union member

ulLabelLen

Structure/Union member

ulSeedLen

Structure/Union member

pycryptoki.cryptoki.CK_WTLS_PRF_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_WTLS_PRF_PARAMS

class pycryptoki.cryptoki.CK_WTLS_RANDOM_DATA[source]
pClientRandom

Structure/Union member

pServerRandom

Structure/Union member

ulClientRandomLen

Structure/Union member

ulServerRandomLen

Structure/Union member

pycryptoki.cryptoki.CK_WTLS_RANDOM_DATA_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_WTLS_RANDOM_DATA

class pycryptoki.cryptoki.CK_X9_42_DH1_DERIVE_PARAMS[source]
kdf

Structure/Union member

pOtherInfo

Structure/Union member

pPublicData

Structure/Union member

ulOtherInfoLen

Structure/Union member

ulPublicDataLen

Structure/Union member

pycryptoki.cryptoki.CK_X9_42_DH1_DERIVE_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_X9_42_DH1_DERIVE_PARAMS

class pycryptoki.cryptoki.CK_X9_42_DH2_DERIVE_PARAMS[source]
hPrivateData

Structure/Union member

kdf

Structure/Union member

pOtherInfo

Structure/Union member

pPublicData

Structure/Union member

pPublicData2

Structure/Union member

ulOtherInfoLen

Structure/Union member

ulPrivateDataLen

Structure/Union member

ulPublicDataLen

Structure/Union member

ulPublicDataLen2

Structure/Union member

pycryptoki.cryptoki.CK_X9_42_DH2_DERIVE_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_X9_42_DH2_DERIVE_PARAMS

pycryptoki.cryptoki.CK_X9_42_DH_KDF_TYPE

alias of ctypes.c_ulong

pycryptoki.cryptoki.CK_X9_42_DH_KDF_TYPE_PTR

alias of pycryptoki.cryptoki.c_defs.LP_c_ulong

class pycryptoki.cryptoki.CK_X9_42_MQV_DERIVE_PARAMS[source]
hPrivateData

Structure/Union member

kdf

Structure/Union member

pOtherInfo

Structure/Union member

pPublicData

Structure/Union member

pPublicData2

Structure/Union member

publicKey

Structure/Union member

ulOtherInfoLen

Structure/Union member

ulPrivateDataLen

Structure/Union member

ulPublicDataLen

Structure/Union member

ulPublicDataLen2

Structure/Union member

pycryptoki.cryptoki.CK_X9_42_MQV_DERIVE_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_X9_42_MQV_DERIVE_PARAMS

class pycryptoki.cryptoki.CK_XOR_BASE_DATA_KDF_PARAMS[source]
kdf

Structure/Union member

pSharedData

Structure/Union member

ulSharedDataLen

Structure/Union member

pycryptoki.cryptoki.CK_XOR_BASE_DATA_KDF_PARAMS_PTR

alias of pycryptoki.cryptoki.ck_defs.LP_CK_XOR_BASE_DATA_KDF_PARAMS

pycryptoki.cryptoki.C_CancelFunction(*args)

Cryptoki DLL call to C_CancelFunction.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.C_CloseAllSessions(*args)

Cryptoki DLL call to C_CloseAllSessions.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.C_CloseSession(*args)

Cryptoki DLL call to C_CloseSession.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.C_CopyObject(*args)

Cryptoki DLL call to C_CopyObject.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_CK_ATTRIBUTE
  • arg4 – c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_CreateObject(*args)

Cryptoki DLL call to C_CreateObject.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_ATTRIBUTE
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_Decrypt(*args)

Cryptoki DLL call to C_Decrypt.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_DecryptDigestUpdate(*args)

Cryptoki DLL call to C_DecryptDigestUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_DecryptFinal(*args)

Cryptoki DLL call to C_DecryptFinal.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_DecryptInit(*args)

Cryptoki DLL call to C_DecryptInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_DecryptUpdate(*args)

Cryptoki DLL call to C_DecryptUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_DecryptVerifyUpdate(*args)

Cryptoki DLL call to C_DecryptVerifyUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_DeriveKey(*args)

Cryptoki DLL call to C_DeriveKey.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
  • arg4 – LP_CK_ATTRIBUTE
  • arg5 – c_ulong
  • arg6 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_DestroyObject(*args)

Cryptoki DLL call to C_DestroyObject.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_Digest(*args)

Cryptoki DLL call to C_Digest.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_DigestEncryptUpdate(*args)

Cryptoki DLL call to C_DigestEncryptUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_DigestFinal(*args)

Cryptoki DLL call to C_DigestFinal.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_DigestInit(*args)

Cryptoki DLL call to C_DigestInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
Returns:

c_ulong

pycryptoki.cryptoki.C_DigestKey(*args)

Cryptoki DLL call to C_DigestKey.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_DigestUpdate(*args)

Cryptoki DLL call to C_DigestUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_Encrypt(*args)

Cryptoki DLL call to C_Encrypt.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_EncryptFinal(*args)

Cryptoki DLL call to C_EncryptFinal.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_EncryptInit(*args)

Cryptoki DLL call to C_EncryptInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_EncryptUpdate(*args)

Cryptoki DLL call to C_EncryptUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_Finalize(*args)

Cryptoki DLL call to C_Finalize.

Parameters:arg1 – c_void_p
Returns:c_ulong
pycryptoki.cryptoki.C_FindObjects(*args)

Cryptoki DLL call to C_FindObjects.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – c_ulong
  • arg4 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_FindObjectsFinal(*args)

Cryptoki DLL call to C_FindObjectsFinal.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.C_FindObjectsInit(*args)

Cryptoki DLL call to C_FindObjectsInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_ATTRIBUTE
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_GenerateKey(*args)

Cryptoki DLL call to C_GenerateKey.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – LP_CK_ATTRIBUTE
  • arg4 – c_ulong
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_GenerateKeyPair(*args)

Cryptoki DLL call to C_GenerateKeyPair.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – LP_CK_ATTRIBUTE
  • arg4 – c_ulong
  • arg5 – LP_CK_ATTRIBUTE
  • arg6 – c_ulong
  • arg7 – LP_c_ulong
  • arg8 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_GenerateRandom(*args)

Cryptoki DLL call to C_GenerateRandom.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_GetAttributeValue(*args)

Cryptoki DLL call to C_GetAttributeValue.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_CK_ATTRIBUTE
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_GetFunctionList(*args)

Cryptoki DLL call to C_GetFunctionList.

Parameters:arg1 – LP_LP_CK_FUNCTION_LIST
Returns:c_ulong
pycryptoki.cryptoki.C_GetFunctionStatus(*args)

Cryptoki DLL call to C_GetFunctionStatus.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.C_GetInfo(*args)

Cryptoki DLL call to C_GetInfo.

Parameters:arg1 – LP_CK_INFO
Returns:c_ulong
pycryptoki.cryptoki.C_GetMechanismInfo(*args)

Cryptoki DLL call to C_GetMechanismInfo.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_CK_MECHANISM_INFO
Returns:

c_ulong

pycryptoki.cryptoki.C_GetMechanismList(*args)

Cryptoki DLL call to C_GetMechanismList.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_GetObjectSize(*args)

Cryptoki DLL call to C_GetObjectSize.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_GetOperationState(*args)

Cryptoki DLL call to C_GetOperationState.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_GetSessionInfo(*args)

Cryptoki DLL call to C_GetSessionInfo.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_SESSION_INFO
Returns:

c_ulong

pycryptoki.cryptoki.C_GetSlotInfo(*args)

Cryptoki DLL call to C_GetSlotInfo.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_SLOT_INFO
Returns:

c_ulong

pycryptoki.cryptoki.C_GetSlotList(*args)

Cryptoki DLL call to C_GetSlotList.

Parameters:
  • arg1 – c_ubyte
  • arg2 – LP_c_ulong
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_GetTokenInfo(*args)

Cryptoki DLL call to C_GetTokenInfo.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_TOKEN_INFO
Returns:

c_ulong

pycryptoki.cryptoki.C_InitPIN(*args)

Cryptoki DLL call to C_InitPIN.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_InitToken(*args)

Cryptoki DLL call to C_InitToken.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
Returns:

c_ulong

pycryptoki.cryptoki.C_Initialize(*args)

Cryptoki DLL call to C_Initialize.

Parameters:arg1 – c_void_p
Returns:c_ulong
pycryptoki.cryptoki.C_Login(*args)

Cryptoki DLL call to C_Login.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_c_ubyte
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_Logout(*args)

Cryptoki DLL call to C_Logout.

Parameters:arg1 – c_ulong
Returns:c_ulong
pycryptoki.cryptoki.C_OpenSession(*args)

Cryptoki DLL call to C_OpenSession.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – c_void_p
  • arg4 – CFunctionType
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_SeedRandom(*args)

Cryptoki DLL call to C_SeedRandom.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_SetAttributeValue(*args)

Cryptoki DLL call to C_SetAttributeValue.

Parameters:
  • arg1 – c_ulong
  • arg2 – c_ulong
  • arg3 – LP_CK_ATTRIBUTE
  • arg4 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_SetOperationState(*args)

Cryptoki DLL call to C_SetOperationState.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_SetPIN(*args)

Cryptoki DLL call to C_SetPIN.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_Sign(*args)

Cryptoki DLL call to C_Sign.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_SignEncryptUpdate(*args)

Cryptoki DLL call to C_SignEncryptUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_SignFinal(*args)

Cryptoki DLL call to C_SignFinal.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_SignInit(*args)

Cryptoki DLL call to C_SignInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_SignRecover(*args)

Cryptoki DLL call to C_SignRecover.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_SignRecoverInit(*args)

Cryptoki DLL call to C_SignRecoverInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_SignUpdate(*args)

Cryptoki DLL call to C_SignUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_UnwrapKey(*args)

Cryptoki DLL call to C_UnwrapKey.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – c_ulong
  • arg6 – LP_CK_ATTRIBUTE
  • arg7 – c_ulong
  • arg8 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_Verify(*args)

Cryptoki DLL call to C_Verify.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_VerifyFinal(*args)

Cryptoki DLL call to C_VerifyFinal.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_VerifyInit(*args)

Cryptoki DLL call to C_VerifyInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_VerifyRecover(*args)

Cryptoki DLL call to C_VerifyRecover.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
  • arg4 – LP_c_ubyte
  • arg5 – LP_c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_VerifyRecoverInit(*args)

Cryptoki DLL call to C_VerifyRecoverInit.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_VerifyUpdate(*args)

Cryptoki DLL call to C_VerifyUpdate.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ubyte
  • arg3 – c_ulong
Returns:

c_ulong

pycryptoki.cryptoki.C_WaitForSlotEvent(*args)

Cryptoki DLL call to C_WaitForSlotEvent.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_c_ulong
  • arg3 – c_void_p
Returns:

c_ulong

pycryptoki.cryptoki.C_WrapKey(*args)

Cryptoki DLL call to C_WrapKey.

Parameters:
  • arg1 – c_ulong
  • arg2 – LP_CK_MECHANISM
  • arg3 – c_ulong
  • arg4 – c_ulong
  • arg5 – LP_c_ubyte
  • arg6 – LP_c_ulong
Returns:

c_ulong

class pycryptoki.cryptoki.HSM_STATS_PARAMS[source]
ulHighValue

Structure/Union member

ulId

Structure/Union member

ulLowValue

Structure/Union member