Package org.xipki.pkcs11.wrapper
Class Version
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.Version
-
public class Version extends Object
Objects of this class represent a version. This consists of a major and a minor version number.- Author:
- Karl Scheibelhofer (SIC), Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVersion(byte major, byte minor)Constructor for internal use only.protectedVersion(CK_VERSION ckVersion)Constructor taking a CK_VERSION object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetMajor()Get the major version number.bytegetMinor()Get the minor version number.StringtoString()Returns the string representation of this object.
-
-
-
Constructor Detail
-
Version
protected Version(byte major, byte minor)Constructor for internal use only.- Parameters:
major- the major versionminor- the minor version.
-
Version
protected Version(CK_VERSION ckVersion)
Constructor taking a CK_VERSION object.- Parameters:
ckVersion- A CK_VERSION object.
-
-