Class ModuleInfo


  • public class ModuleInfo
    extends Object
    Objects of this class provide information about a PKCS#11 module; i.e. the driver for a specific token.
    Author:
    Karl Scheibelhofer (SIC), Lijun Liao (xipki)
    • Constructor Detail

      • ModuleInfo

        public ModuleInfo​(CK_INFO ckInfo)
        Constructor taking the CK_INFO object of the token.
        Parameters:
        ckInfo - The info object as got from PKCS11.C_GetInfo().
    • Method Detail

      • getCryptokiVersion

        public Version getCryptokiVersion()
        Get the version of PKCS#11 that this module claims to be compliant to.
        Returns:
        The version object.
      • getManufacturerID

        public String getManufacturerID()
        Get the identifier of the manufacturer.
        Returns:
        A string identifying the manufacturer of this module.
      • getLibraryDescription

        public String getLibraryDescription()
        Get a short description of this module.
        Returns:
        A string describing the module.
      • getLibraryVersion

        public Version getLibraryVersion()
        Get the version of this PKCS#11 module.
        Returns:
        The version of this module.
      • toString

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