cookie CmEnablingSendResponse

Description

CmEnablingSendResponse enables a CmContainer or a CmContainer entry. During enabling the CmContainer receives the challenge (created by CmEnablingGetChallenge in the CmContainer) plus some additional data (like expiration time, etc.) encrypted back from an external security device (e.g. SmartCard). The CmContainer now checks this encrypted challenge by encrypting the originally created challenge and comparing it to the received one. The encryption key is stored in CmContainer and SmartCard only and will never leave these two devices in an insecure way.

tmr_02

Triple Mode Redundancy-related information (TMR)

  • C, C++
  • C#
  • Python

Syntax

int CMAPIENTRY CmEnablingSendResponse(HCMSysEntry hcmse, CMENABLING_APPCONTEXT *pcmAppContext, CMBYTE *pbResponse, CMUINT cbResponse)

Parameter

hcmse contains a handle opened by CmAccess / CmAccess2 (can be Box Access or Entry Access).

pcmappcontext contains all information needed to enable/disable a CmContainer/entry (see the structure hmtoggle_plus1 CMENABLING_APPCONTEXT).

pbResponse contains the response buffer.

cbResponse contains the length of the buffer in pbResponse.

Return

TRUE, if the process worked successfully - FALSE, if not.

Notes

If the CmContainer or a CmContainer entry is disabled because of an expired time, CodeMeter License Server triggers an event for the authentication server to check for another enable process/validation.

Syntax

public bool CmEnablingSendResponse(HCMSysEntry hcmse, CmEnablingAppContext AppContext, byte[] Response)

Parameter

hcmse contains a handle opened by CmAccess / CmAccess2 (can be Box Access or Entry Access).

AppContext contains all information needed to enable/disable a CmContainer/entry (see the class hmtoggle_plus1 CmEnablingAppContext).

Response contains the response.

Return

true, if the process worked successfully - false, if not.

Notes

If the CmContainer or a CmContainer entry is disabled because of an expired time, CodeMeter License Server triggers an event for the authentication server to check for another enable process/validation.

 

Not implemented.