| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final char[] | HEX_DIGITS
For converting numbers to their hex presentation. |
| private static final Functions. | |
| private static final Map | |
| private static final Map | |
| private static final Functions. | |
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final Functions. | |
| private static final Functions. | |
| private static final Functions. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| private static boolean | Returns: True, if both arrays arenull or both have the same
length and contain exactly the same char values. False, otherwise.The first array. array1, char[] The second array. array2)Check the given arrays for equalitiy. |
| public static boolean | |
| public static long | |
| public static String | |
| public static long | |
| public static long | |
| public static long | |
| public static String | |
| public static int | Returns: the byte array length as int or 0 if nullthe byte array to get its length value)get a byte array length as int |
| public static long | |
| public static String | |
| public static long | |
| public static String | |
| private static String | |
| public static long | |
| public static String | |
| public static long | |
| public static String | |
| public static long | |
| public static String | |
| public static int | Returns: A hash code for the given array.The byte array. array)Calculate a hash code for the given byte array. |
| public static int | Returns: A hash code for the given array.The char array. array)Calculate a hash code for the given char array. |
| public static int | |
| public static String | Returns: the MechanismInfoFlag string representation of the flagsthe flags to be converted flags)converts the long value flags to a MechanismInfoFlag string |
| public static String | Returns: the HKDF salt type string representationthe HKDF salt type to be converted ulSaltType)converts a long value to a HKDF salt type string |
| public static String | Returns: the SessionInfoFlag string representation of the flagsthe flags to be converted flags)converts the long value flags to a SessionInfoFlag string |
| public static String | Returns: the SessionState string representation of the statethe state to be converted state)converts the long value state to a SessionState string |
| public static String | Returns: the SlotInfoFlag string representation of the flagsthe flags to be converted flags)converts the long value flags to a SlotInfoFlag string |
| public static String | Returns: the binary string representation of the long valuethe long value to be converted value)converts a long value to a binary String |
| public static String | Returns: the binary string representation of the byte arraythe byte array to be converted value)converts a byte array to a binary String |
| public static String | Returns: The hexadecimal string representation of the long value.The long value to be converted. value)Converts a long value to a hexadecimal String of length 16. |
| public static String | Returns: The hexadecimal string representation of the int value.The int value to be converted. value)Converts a int value to a hexadecimal String of length 8. |
| public static String | Returns: the hexadecimal string representation of the long valuethe long value to be converted value)converts a long value to a hexadecimal String |
| public static String | Returns: the hexadecimal string representation of the byte arraythe byte array to be converted value)Converts a byte array to a hexadecimal String. |
| public static String | Returns: the TokenInfoFlag string representation of the flagsthe flags to be converted flags)converts long value flags to a TokenInfoFlag string |
| attributeIds | back to summary |
|---|---|
| private static final Map<String, Integer> attributeIds | |
| attributeNames | back to summary |
|---|---|
| private static final Map<Integer, String> attributeNames | |
| hashMechIds | back to summary |
|---|---|
| private static final Map<String, Long> hashMechIds | |
| HEX_DIGITS | back to summary |
|---|---|
| private static final char[] HEX_DIGITS For converting numbers to their hex presentation. | |
| hkdfSaltTypes | back to summary |
|---|---|
| private static final Functions. | |
| keyIds | back to summary |
|---|---|
| private static final Map<String, Integer> keyIds | |
| keyNames | back to summary |
|---|---|
| private static final Map<Integer, String> keyNames | |
| mechanismInfoFlags | back to summary |
|---|---|
| private static final Functions. | |
| mechIds | back to summary |
|---|---|
| private static final Map<String, Integer> mechIds | |
| mechNames | back to summary |
|---|---|
| private static final Map<Integer, String> mechNames | |
| mgfIds | back to summary |
|---|---|
| private static final Map<String, Integer> mgfIds | |
| mgfNames | back to summary |
|---|---|
| private static final Map<Integer, String> mgfNames | |
| objectClassIds | back to summary |
|---|---|
| private static final Map<String, Integer> objectClassIds | |
| objectClassNames | back to summary |
|---|---|
| private static final Map<Integer, String> objectClassNames | |
| paramSourcesIds | back to summary |
|---|---|
| private static final Map<String, Integer> paramSourcesIds | |
| paramSourcesNames | back to summary |
|---|---|
| private static final Map<Integer, String> paramSourcesNames | |
| prfIds | back to summary |
|---|---|
| private static final Map<String, Integer> prfIds | |
| prfNames | back to summary |
|---|---|
| private static final Map<Integer, String> prfNames | |
| sessionInfoFlags | back to summary |
|---|---|
| private static final Functions. | |
| slotInfoFlags | back to summary |
|---|---|
| private static final Functions. | |
| tokenInfoFlags | back to summary |
|---|---|
| private static final Functions. | |
| Functions | back to summary |
|---|---|
| public Functions() | |
| addAttribute | back to summary |
|---|---|
| private static void addAttribute(long id, String name) | |
| addHashMech | back to summary |
|---|---|
| private static void addHashMech(long id, String... names) | |
| addKeyType | back to summary |
|---|---|
| private static void addKeyType(long id, String name) | |
| addMapping | back to summary |
|---|---|
| private static void addMapping(Map<Integer, String> nameMap, Map<String, Integer> idMap, long id, String name) | |
| addMech | back to summary |
|---|---|
| private static void addMech(long id, String name) | |
| addMGF | back to summary |
|---|---|
| private static void addMGF(long id, String name) | |
| addObjectClass | back to summary |
|---|---|
| private static void addObjectClass(long id, String name) | |
| addParamSources | back to summary |
|---|---|
| private static void addParamSources(long id, String name) | |
| addPrf | back to summary |
|---|---|
| private static void addPrf(long id, String name) | |
| equals | back to summary |
|---|---|
| private static boolean equals(char[] array1, char[] array2) Check the given arrays for equalitiy. This method considers both arrays as
equal, if both are
| |
| equals | back to summary |
|---|---|
| public static boolean equals(CK_DATE date1, CK_DATE date2) Check the given dates for equalitiy. This method considers both dates as
equal, if both are | |
| getAttributeId | back to summary |
|---|---|
| public static long getAttributeId(String name) | |
| getAttributeName | back to summary |
|---|---|
| public static String getAttributeName(long id) | |
| getHashMechId | back to summary |
|---|---|
| public static long getHashMechId(String name) | |
| getId | back to summary |
|---|---|
| public static long getId(Map<String, Integer> idMap, String name) | |
| getKeyId | back to summary |
|---|---|
| public static long getKeyId(String name) | |
| getKeyName | back to summary |
|---|---|
| public static String getKeyName(long id) | |
| getLength | back to summary |
|---|---|
| public static int getLength(byte[] value) get a byte array length as int
| |
| getMechanismId | back to summary |
|---|---|
| public static long getMechanismId(String name) | |
| getMechanismName | back to summary |
|---|---|
| public static String getMechanismName(long id) | |
| getMGFId | back to summary |
|---|---|
| public static long getMGFId(String name) | |
| getMGFName | back to summary |
|---|---|
| public static String getMGFName(long id) | |
| getName | back to summary |
|---|---|
| private static String getName(Map<Integer, String> nameMap, long id) | |
| getObjectClassId | back to summary |
|---|---|
| public static long getObjectClassId(String name) | |
| getObjectClassName | back to summary |
|---|---|
| public static String getObjectClassName(long id) | |
| getParamSourcesId | back to summary |
|---|---|
| public static long getParamSourcesId(String name) | |
| getParamSourcesName | back to summary |
|---|---|
| public static String getParamSourcesName(long id) | |
| getPrfId | back to summary |
|---|---|
| public static long getPrfId(String name) | |
| getPrfName | back to summary |
|---|---|
| public static String getPrfName(long id) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(byte[] array) Calculate a hash code for the given byte array.
| |
| hashCode | back to summary |
|---|---|
| public static int hashCode(char[] array) Calculate a hash code for the given char array.
| |
| hashCode | back to summary |
|---|---|
| public static int hashCode(CK_DATE date) Calculate a hash code for the given date object.
| |
| mechanismInfoFlagsToString | back to summary |
|---|---|
| public static String mechanismInfoFlagsToString(long flags) converts the long value flags to a MechanismInfoFlag string
| |
| saltTypeToString | back to summary |
|---|---|
| public static String saltTypeToString(long ulSaltType) converts a long value to a HKDF salt type string
| |
| sessionInfoFlagsToString | back to summary |
|---|---|
| public static String sessionInfoFlagsToString(long flags) converts the long value flags to a SessionInfoFlag string
| |
| sessionStateToString | back to summary |
|---|---|
| public static String sessionStateToString(long state) converts the long value state to a SessionState string
| |
| slotInfoFlagsToString | back to summary |
|---|---|
| public static String slotInfoFlagsToString(long flags) converts the long value flags to a SlotInfoFlag string
| |
| toBinaryString | back to summary |
|---|---|
| public static String toBinaryString(long value) converts a long value to a binary String
| |
| toBinaryString | back to summary |
|---|---|
| public static String toBinaryString(byte[] value) converts a byte array to a binary String
| |
| toFullHexString | back to summary |
|---|---|
| public static String toFullHexString(long value) Converts a long value to a hexadecimal String of length 16. Includes leading zeros if necessary.
| |
| toFullHexString | back to summary |
|---|---|
| public static String toFullHexString(int value) Converts a int value to a hexadecimal String of length 8. Includes leading zeros if necessary.
| |
| toHexString | back to summary |
|---|---|
| public static String toHexString(long value) converts a long value to a hexadecimal String
| |
| toHexString | back to summary |
|---|---|
| public static String toHexString(byte[] value) Converts a byte array to a hexadecimal String. Each byte is presented by its two digit hex-code; 0x0A -> "0a", 0x00 -> "00". No leading "0x" is included in the result.
| |
| tokenInfoFlagsToString | back to summary |
|---|---|
| public static String tokenInfoFlagsToString(long flags) converts long value flags to a TokenInfoFlag string
| |
| Modifier and Type | Field and Description |
|---|---|
| private final long[] | |
| private final String[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String |
| flagIds | back to summary |
|---|---|
| private final long[] flagIds | |
| flagNames | back to summary |
|---|---|
| private final String[] flagNames | |
| Flags | back to summary |
|---|---|
| pack-priv Flags(long[] flagIds, String[] flagNames) | |
| toString | back to summary |
|---|---|
| pack-priv String toString(long val) | |