Package com.ellipticsecure.ehsm
Class CKAttribute
- java.lang.Object
-
- com.sun.jna.Structure
-
- com.ellipticsecure.ehsm.CKAttribute
-
@FieldOrder({"type","pValue","ulValueLen"}) public class CKAttribute extends com.sun.jna.StructureThis is the CK_ATTRIBUTE structure.- Author:
- Kobus Grobler
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CKAttribute()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CKAttributesetBoolAttribute(CKAttribute attribute, long type, boolean val)static CKAttributesetLongAttribute(CKAttribute attribute, long type, long val)-
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
-
CKF_ARRAY_ATTRIBUTE
public static final long CKF_ARRAY_ATTRIBUTE
- See Also:
- Constant Field Values
-
CKA_CLASS
public static final long CKA_CLASS
- See Also:
- Constant Field Values
-
CKA_TOKEN
public static final long CKA_TOKEN
- See Also:
- Constant Field Values
-
CKA_PRIVATE
public static final long CKA_PRIVATE
- See Also:
- Constant Field Values
-
CKA_LABEL
public static final long CKA_LABEL
- See Also:
- Constant Field Values
-
CKA_APPLICATION
public static final long CKA_APPLICATION
- See Also:
- Constant Field Values
-
CKA_VALUE
public static final long CKA_VALUE
- See Also:
- Constant Field Values
-
CKA_OBJECT_ID
public static final long CKA_OBJECT_ID
- See Also:
- Constant Field Values
-
CKA_CERTIFICATE_TYPE
public static final long CKA_CERTIFICATE_TYPE
- See Also:
- Constant Field Values
-
CKA_ISSUER
public static final long CKA_ISSUER
- See Also:
- Constant Field Values
-
CKA_SERIAL_NUMBER
public static final long CKA_SERIAL_NUMBER
- See Also:
- Constant Field Values
-
CKA_AC_ISSUER
public static final long CKA_AC_ISSUER
- See Also:
- Constant Field Values
-
CKA_OWNER
public static final long CKA_OWNER
- See Also:
- Constant Field Values
-
CKA_ATTR_TYPES
public static final long CKA_ATTR_TYPES
- See Also:
- Constant Field Values
-
CKA_TRUSTED
public static final long CKA_TRUSTED
- See Also:
- Constant Field Values
-
CKA_CERTIFICATE_CATEGORY
public static final long CKA_CERTIFICATE_CATEGORY
- See Also:
- Constant Field Values
-
CKA_JAVA_MIDP_SECURITY_DOMAIN
public static final long CKA_JAVA_MIDP_SECURITY_DOMAIN
- See Also:
- Constant Field Values
-
CKA_URL
public static final long CKA_URL
- See Also:
- Constant Field Values
-
CKA_HASH_OF_SUBJECT_PUBLIC_KEY
public static final long CKA_HASH_OF_SUBJECT_PUBLIC_KEY
- See Also:
- Constant Field Values
-
CKA_HASH_OF_ISSUER_PUBLIC_KEY
public static final long CKA_HASH_OF_ISSUER_PUBLIC_KEY
- See Also:
- Constant Field Values
-
CKA_NAME_HASH_ALGORITHM
public static final long CKA_NAME_HASH_ALGORITHM
- See Also:
- Constant Field Values
-
CKA_CHECK_VALUE
public static final long CKA_CHECK_VALUE
- See Also:
- Constant Field Values
-
CKA_KEY_TYPE
public static final long CKA_KEY_TYPE
- See Also:
- Constant Field Values
-
CKA_SUBJECT
public static final long CKA_SUBJECT
- See Also:
- Constant Field Values
-
CKA_ID
public static final long CKA_ID
- See Also:
- Constant Field Values
-
CKA_SENSITIVE
public static final long CKA_SENSITIVE
- See Also:
- Constant Field Values
-
CKA_ENCRYPT
public static final long CKA_ENCRYPT
- See Also:
- Constant Field Values
-
CKA_DECRYPT
public static final long CKA_DECRYPT
- See Also:
- Constant Field Values
-
CKA_WRAP
public static final long CKA_WRAP
- See Also:
- Constant Field Values
-
CKA_UNWRAP
public static final long CKA_UNWRAP
- See Also:
- Constant Field Values
-
CKA_SIGN
public static final long CKA_SIGN
- See Also:
- Constant Field Values
-
CKA_SIGN_RECOVER
public static final long CKA_SIGN_RECOVER
- See Also:
- Constant Field Values
-
CKA_VERIFY
public static final long CKA_VERIFY
- See Also:
- Constant Field Values
-
CKA_VERIFY_RECOVER
public static final long CKA_VERIFY_RECOVER
- See Also:
- Constant Field Values
-
CKA_DERIVE
public static final long CKA_DERIVE
- See Also:
- Constant Field Values
-
CKA_START_DATE
public static final long CKA_START_DATE
- See Also:
- Constant Field Values
-
CKA_END_DATE
public static final long CKA_END_DATE
- See Also:
- Constant Field Values
-
CKA_MODLUS
public static final long CKA_MODLUS
- See Also:
- Constant Field Values
-
CKA_MODLUS_BITS
public static final long CKA_MODLUS_BITS
- See Also:
- Constant Field Values
-
CKA_PUBLIC_EXPONENT
public static final long CKA_PUBLIC_EXPONENT
- See Also:
- Constant Field Values
-
CKA_PRIVATE_EXPONENT
public static final long CKA_PRIVATE_EXPONENT
- See Also:
- Constant Field Values
-
CKA_PRIME_1
public static final long CKA_PRIME_1
- See Also:
- Constant Field Values
-
CKA_PRIME_2
public static final long CKA_PRIME_2
- See Also:
- Constant Field Values
-
CKA_EXPONENT_1
public static final long CKA_EXPONENT_1
- See Also:
- Constant Field Values
-
CKA_EXPONENT_2
public static final long CKA_EXPONENT_2
- See Also:
- Constant Field Values
-
CKA_COEFFICIENT
public static final long CKA_COEFFICIENT
- See Also:
- Constant Field Values
-
CKA_PUBLIC_KEY_INFO
public static final long CKA_PUBLIC_KEY_INFO
- See Also:
- Constant Field Values
-
CKA_PRIME
public static final long CKA_PRIME
- See Also:
- Constant Field Values
-
CKA_SUBPRIME
public static final long CKA_SUBPRIME
- See Also:
- Constant Field Values
-
CKA_BASE
public static final long CKA_BASE
- See Also:
- Constant Field Values
-
CKA_PRIME_BITS
public static final long CKA_PRIME_BITS
- See Also:
- Constant Field Values
-
CKA_SUBPRIME_BITS
public static final long CKA_SUBPRIME_BITS
- See Also:
- Constant Field Values
-
CKA_SUB_PRIME_BITS
public static final long CKA_SUB_PRIME_BITS
- See Also:
- Constant Field Values
-
CKA_VALUE_BITS
public static final long CKA_VALUE_BITS
- See Also:
- Constant Field Values
-
CKA_VALUE_LEN
public static final long CKA_VALUE_LEN
- See Also:
- Constant Field Values
-
CKA_EXTRACTABLE
public static final long CKA_EXTRACTABLE
- See Also:
- Constant Field Values
-
CKA_LOCAL
public static final long CKA_LOCAL
- See Also:
- Constant Field Values
-
CKA_NEVER_EXTRACTABLE
public static final long CKA_NEVER_EXTRACTABLE
- See Also:
- Constant Field Values
-
CKA_ALWAYS_SENSITIVE
public static final long CKA_ALWAYS_SENSITIVE
- See Also:
- Constant Field Values
-
CKA_KEY_GEN_MECHANISM
public static final long CKA_KEY_GEN_MECHANISM
- See Also:
- Constant Field Values
-
CKA_MODIFIABLE
public static final long CKA_MODIFIABLE
- See Also:
- Constant Field Values
-
CKA_COPYABLE
public static final long CKA_COPYABLE
- See Also:
- Constant Field Values
-
CKA_DESTROYABLE
public static final long CKA_DESTROYABLE
- See Also:
- Constant Field Values
-
CKA_ECDSA_PARAMS
public static final long CKA_ECDSA_PARAMS
- See Also:
- Constant Field Values
-
CKA_EC_PARAMS
public static final long CKA_EC_PARAMS
- See Also:
- Constant Field Values
-
CKA_EC_POINT
public static final long CKA_EC_POINT
- See Also:
- Constant Field Values
-
CKA_SECONDARY_AUTH
public static final long CKA_SECONDARY_AUTH
- See Also:
- Constant Field Values
-
CKA_AUTH_PIN_FLAGS
public static final long CKA_AUTH_PIN_FLAGS
- See Also:
- Constant Field Values
-
CKA_ALWAYS_AUTHENTICATE
public static final long CKA_ALWAYS_AUTHENTICATE
- See Also:
- Constant Field Values
-
CKA_WRAP_WITH_TRUSTED
public static final long CKA_WRAP_WITH_TRUSTED
- See Also:
- Constant Field Values
-
CKA_WRAP_TEMPLATE
public static final long CKA_WRAP_TEMPLATE
- See Also:
- Constant Field Values
-
CKA_UNWRAP_TEMPLATE
public static final long CKA_UNWRAP_TEMPLATE
- See Also:
- Constant Field Values
-
CKA_DERIVE_TEMPLATE
public static final long CKA_DERIVE_TEMPLATE
- See Also:
- Constant Field Values
-
CKA_OTP_FORMAT
public static final long CKA_OTP_FORMAT
- See Also:
- Constant Field Values
-
CKA_OTP_LENGTH
public static final long CKA_OTP_LENGTH
- See Also:
- Constant Field Values
-
CKA_OTP_TIME_INTERVAL
public static final long CKA_OTP_TIME_INTERVAL
- See Also:
- Constant Field Values
-
CKA_OTP_USER_FRIENDLY_MODE
public static final long CKA_OTP_USER_FRIENDLY_MODE
- See Also:
- Constant Field Values
-
CKA_OTP_CHALLENGE_REQUIREMENT
public static final long CKA_OTP_CHALLENGE_REQUIREMENT
- See Also:
- Constant Field Values
-
CKA_OTP_TIME_REQUIREMENT
public static final long CKA_OTP_TIME_REQUIREMENT
- See Also:
- Constant Field Values
-
CKA_OTP_COUNTER_REQUIREMENT
public static final long CKA_OTP_COUNTER_REQUIREMENT
- See Also:
- Constant Field Values
-
CKA_OTP_PIN_REQUIREMENT
public static final long CKA_OTP_PIN_REQUIREMENT
- See Also:
- Constant Field Values
-
CKA_OTP_COUNTER
public static final long CKA_OTP_COUNTER
- See Also:
- Constant Field Values
-
CKA_OTP_USER_IDENTIFIER
public static final long CKA_OTP_USER_IDENTIFIER
- See Also:
- Constant Field Values
-
CKA_OTP_SERVICE_IDENTIFIER
public static final long CKA_OTP_SERVICE_IDENTIFIER
- See Also:
- Constant Field Values
-
CKA_OTP_SERVICE_LOGO
public static final long CKA_OTP_SERVICE_LOGO
- See Also:
- Constant Field Values
-
CKA_OTP_SERVICE_LOGO_TYPE
public static final long CKA_OTP_SERVICE_LOGO_TYPE
- See Also:
- Constant Field Values
-
CKA_GOSTR3410_PARAMS
public static final long CKA_GOSTR3410_PARAMS
- See Also:
- Constant Field Values
-
CKA_GOSTR3411_PARAMS
public static final long CKA_GOSTR3411_PARAMS
- See Also:
- Constant Field Values
-
CKA_GOST28147_PARAMS
public static final long CKA_GOST28147_PARAMS
- See Also:
- Constant Field Values
-
CKA_HW_FEATURE_TYPE
public static final long CKA_HW_FEATURE_TYPE
- See Also:
- Constant Field Values
-
CKA_RESET_ON_INIT
public static final long CKA_RESET_ON_INIT
- See Also:
- Constant Field Values
-
CKA_HAS_RESET
public static final long CKA_HAS_RESET
- See Also:
- Constant Field Values
-
CKA_PIXEL_X
public static final long CKA_PIXEL_X
- See Also:
- Constant Field Values
-
CKA_PIXEL_Y
public static final long CKA_PIXEL_Y
- See Also:
- Constant Field Values
-
CKA_RESOLUTION
public static final long CKA_RESOLUTION
- See Also:
- Constant Field Values
-
CKA_CHAR_ROWS
public static final long CKA_CHAR_ROWS
- See Also:
- Constant Field Values
-
CKA_CHAR_COLUMNS
public static final long CKA_CHAR_COLUMNS
- See Also:
- Constant Field Values
-
CKA_COLOR
public static final long CKA_COLOR
- See Also:
- Constant Field Values
-
CKA_BITS_PER_PIXEL
public static final long CKA_BITS_PER_PIXEL
- See Also:
- Constant Field Values
-
CKA_CHAR_SETS
public static final long CKA_CHAR_SETS
- See Also:
- Constant Field Values
-
CKA_ENCODING_METHODS
public static final long CKA_ENCODING_METHODS
- See Also:
- Constant Field Values
-
CKA_MIME_TYPES
public static final long CKA_MIME_TYPES
- See Also:
- Constant Field Values
-
CKA_MECHANISM_TYPE
public static final long CKA_MECHANISM_TYPE
- See Also:
- Constant Field Values
-
CKA_REQUIRED_CMS_ATTRIBUTES
public static final long CKA_REQUIRED_CMS_ATTRIBUTES
- See Also:
- Constant Field Values
-
CKA_DEFAULT_CMS_ATTRIBUTES
public static final long CKA_DEFAULT_CMS_ATTRIBUTES
- See Also:
- Constant Field Values
-
CKA_SUPPORTED_CMS_ATTRIBUTES
public static final long CKA_SUPPORTED_CMS_ATTRIBUTES
- See Also:
- Constant Field Values
-
CKA_ALLOWED_MECHANISMS
public static final long CKA_ALLOWED_MECHANISMS
- See Also:
- Constant Field Values
-
CKA_VENDOR_DEFINED
public static final long CKA_VENDOR_DEFINED
- See Also:
- Constant Field Values
-
CKA_BTC_CHAIN
public static final long CKA_BTC_CHAIN
- See Also:
- Constant Field Values
-
type
public com.sun.jna.NativeLong type
-
pValue
public com.sun.jna.Pointer pValue
-
ulValueLen
public com.sun.jna.NativeLong ulValueLen
-
-
Method Detail
-
setLongAttribute
public static CKAttribute setLongAttribute(CKAttribute attribute, long type, long val)
-
setBoolAttribute
public static CKAttribute setBoolAttribute(CKAttribute attribute, long type, boolean val)
-
-