java.lang.Object | |
↳ | sun.security.pkcs11.wrapper.Functions |
This class contains onyl static methods. It is the place for all functions that are used by several classes in this package.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check the given arrays for equalitiy.
| |||||||||||
Check the given arrays for equalitiy.
| |||||||||||
Check the given dates for equalitiy.
| |||||||||||
Calculate a hash code for the given date object.@preconditions
| |||||||||||
Calculate a hash code for the given char array.@preconditions
| |||||||||||
Calculate a hash code for the given byte array.@preconditions
| |||||||||||
converts the long value flags to a MechanismInfoFlag string
| |||||||||||
converts the long value flags to a SessionInfoFlag string
| |||||||||||
converts the long value state to a SessionState string
| |||||||||||
converts the long value flags to a SlotInfoFlag string
| |||||||||||
converts a byte array to a binary String
| |||||||||||
converts a long value to a binary String
| |||||||||||
Converts a long value to a hexadecimal String of length 16.
| |||||||||||
Converts a int value to a hexadecimal String of length 8.
| |||||||||||
converts a long value to a hexadecimal String
| |||||||||||
Converts a byte array to a hexadecimal String.
| |||||||||||
converts long value flags to a TokenInfoFlag string
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Check the given arrays for equalitiy. This method considers both arrays as
equal, if both are null
or both have the same length and
contain exactly the same char values.@preconditions
array1 | The first array. |
---|---|
array2 | The second array. |
null
or both have the same
length and contain exactly the same char values. False, otherwise.Check the given arrays for equalitiy. This method considers both arrays as
equal, if both are null
or both have the same length and
contain exactly the same byte values.@preconditions
array1 | The first array. |
---|---|
array2 | The second array. |
null
or both have the same
length and contain exactly the same byte values. False, otherwise.Check the given dates for equalitiy. This method considers both dates as
equal, if both are null
or both contain exactly the same char
values.@preconditions
date1 | The first date. |
---|---|
date2 | The second date. |
null
or both contain the same
char values. False, otherwise.Calculate a hash code for the given date object.@preconditions
date | The date object. |
---|
Calculate a hash code for the given char array.@preconditions
array | The char array. |
---|
Calculate a hash code for the given byte array.@preconditions
array | The byte array. |
---|
converts the long value flags to a MechanismInfoFlag string
flags | the flags to be converted |
---|
converts the long value flags to a SessionInfoFlag string
flags | the flags to be converted |
---|
converts the long value state to a SessionState string
state | the state to be converted |
---|
converts the long value flags to a SlotInfoFlag string
flags | the flags to be converted |
---|
converts a byte array to a binary String
value | the byte array to be converted |
---|
converts a long value to a binary String
value | the long value to be converted |
---|
Converts a long value to a hexadecimal String of length 16. Includes leading zeros if necessary.
value | The long value to be converted. |
---|
Converts a int value to a hexadecimal String of length 8. Includes leading zeros if necessary.
value | The int value to be converted. |
---|
converts a long value to a hexadecimal String
value | the long value to be converted |
---|
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.
value | the byte array to be converted |
---|
converts long value flags to a TokenInfoFlag string
flags | the flags to be converted |
---|