public class Version
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected byte |
major_
The major version number.
|
protected byte |
minor_
The minor version number.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Version()
Constructor for internal use only.
|
protected |
Version(CK_VERSION ckVersion)
Constructor taking a CK_VERSION object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Create a (deep) clone of this object.
|
boolean |
equals(java.lang.Object otherObject)
Compares major and minor version number of this objects with the other object.
|
byte |
getMajor()
Get the major version number.
|
byte |
getMinor()
Get the minor version number.
|
int |
hashCode()
The overriding of this method should ensure that the objects of this class work correctly in a
hashtable.
|
java.lang.String |
toString()
Returns the string representation of this object.
|
protected byte major_
protected byte minor_
protected Version()
protected Version(CK_VERSION ckVersion)
ckVersion - A CK_VERSION object.public java.lang.Object clone()
clone in class java.lang.Objectpublic byte getMajor()
public byte getMinor()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object otherObject)
equals in class java.lang.ObjectotherObject - The other Version object.public int hashCode()
hashCode in class java.lang.ObjectIAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. version 1.6.9