PKCS#11 Extension HA Status Call

A Luna extension to the PKCS#11 standard allows query of the HA group state.

This is the HA Status call available in Luna HSM Client 10.6.0 and older. It operates sequentially, and was useful in more forgiving environments. For near-real-time status in demanding environments like 5G and other high-uptime applications see PKCS#11 Extension HA Status Call - improved instead.

Function Definition

CK_RV CK_ENTRY CA_GetHAState( CK_SLOT_ID slotId, CK_HA_STATE_PTR pState );

The structure definitions for a CK_HA_STATE_PTR and CK_HA_MEMBER are:

typedef struct CK_HA_MEMBER{
CK_ULONG memberSerial;
CK_RV memberStatus;
}CK_HA_MEMBER;


typedef struct CK_HA_STATUS{
CK_ULONG groupSerial;
CK_HA_MEMBER memberList[CK_HA_MAX_MEMBERS];
CK_USHORT listSize;
}CK_HA_STATUS;

See the JavaDocs included with the software for a description of the Java methods derived from this cryptoki function.