public class Version
extends java.lang.Object
The structure is defined as follows:
typedef struct CK_VERSION {
CK_BYTE major;
CK_BYTE minor;
} CK_VERSION;
For version 1.0, major = 1 and minor = 0. For version 2.1, major = 2 and minor = 10. Minor revisions of the Cryptoki standard are always upwardly compatible within the same major version number.
| Modifier and Type | Method and Description |
|---|---|
int |
getMajor()
Returns the major version component.
|
int |
getMinor()
Returns the minor version component.
|
java.lang.String |
toString()
Returns a
String representation of the Version
object. |
public int getMajor()
public int getMinor()
public java.lang.String toString()
String representation of the Version
object.toString in class java.lang.ObjectString representation of the Version object