Class 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 Detail

      • Version

        protected Version​(byte major,
                          byte minor)
        Constructor for internal use only.
        Parameters:
        major - the major version
        minor - the minor version.
      • Version

        protected Version​(CK_VERSION ckVersion)
        Constructor taking a CK_VERSION object.
        Parameters:
        ckVersion - A CK_VERSION object.
    • Method Detail

      • getMajor

        public byte getMajor()
        Get the major version number.
        Returns:
        The major version number.
      • getMinor

        public byte getMinor()
        Get the minor version number.
        Returns:
        The minor version number.
      • toString

        public String toString()
        Returns the string representation of this object.
        Overrides:
        toString in class Object
        Returns:
        the string representation of this object