PKCS#11 Extension HA Status Call

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

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.