Package com.ellipticsecure.ehsm
Class EHSMConfig
- java.lang.Object
-
- com.sun.jna.Structure
-
- com.ellipticsecure.ehsm.EHSMConfig
-
@FieldOrder({"u8Version","u8Length","u8MaxUserFailCnt","u8MaxSOFailCnt","u8SessionTimeout","u16BitOptions"}) public class EHSMConfig extends com.sun.jna.StructureThis structure defines device specific configuration options.- Author:
- Kobus Grobler
-
-
Field Summary
Fields Modifier and Type Field Description static intBIT_OPTS_ENABLE_CTAP2static intBIT_OPTS_ENABLE_U2Fstatic intBIT_OPTS_REQ_BTN_ON_BACKUPstatic byteEHSM_CONFIG_VERSIONThe current configuration structure version.shortu16BitOptionsbyteu8Lengthbyteu8MaxSOFailCntbyteu8MaxUserFailCntbyteu8SessionTimeoutbyteu8Version
-
Constructor Summary
Constructors Constructor Description EHSMConfig()
-
Method Summary
-
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
-
-
-
Field Detail
-
EHSM_CONFIG_VERSION
public static final byte EHSM_CONFIG_VERSION
The current configuration structure version.- See Also:
- Constant Field Values
-
BIT_OPTS_REQ_BTN_ON_BACKUP
public static final int BIT_OPTS_REQ_BTN_ON_BACKUP
- See Also:
- Constant Field Values
-
BIT_OPTS_ENABLE_CTAP2
public static final int BIT_OPTS_ENABLE_CTAP2
- See Also:
- Constant Field Values
-
BIT_OPTS_ENABLE_U2F
public static final int BIT_OPTS_ENABLE_U2F
- See Also:
- Constant Field Values
-
u8Version
public byte u8Version
-
u8Length
public byte u8Length
-
u8MaxUserFailCnt
public byte u8MaxUserFailCnt
-
u8MaxSOFailCnt
public byte u8MaxSOFailCnt
-
u8SessionTimeout
public byte u8SessionTimeout
-
u16BitOptions
public short u16BitOptions
-
-