|
IAIK PKCS#11 Wrapper version 1.2.18 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iaik.pkcs.pkcs11.Version
Objects of this class represent a version. This consists of a major and a minor version number.
Field Summary | |
protected byte |
major_
The major version number. |
protected byte |
minor_
The minor version number. |
Constructor Summary | |
protected |
Version()
Constructor for internal use only. |
protected |
Version(CK_VERSION ckVersion)
Constructor taking a CK_VERSION object. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected byte major_
protected byte minor_
Constructor Detail |
protected Version()
protected Version(CK_VERSION ckVersion)
ckVersion
- A CK_VERSION object.Method Detail |
public java.lang.Object clone()
clone
in class java.lang.Object
public byte getMajor()
public byte getMinor()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object otherObject)
equals
in class java.lang.Object
otherObject
- The other Version object.public int hashCode()
hashCode
in class java.lang.Object
|
IAIK PKCS#11 Wrapper version 1.2.18 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |