Package org.xipki.pkcs11.wrapper
Class ModuleInfo
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.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 Summary
Constructors Constructor Description ModuleInfo(CK_INFO ckInfo)Constructor taking the CK_INFO object of the token.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VersiongetCryptokiVersion()Get the version of PKCS#11 that this module claims to be compliant to.StringgetLibraryDescription()Get a short description of this module.VersiongetLibraryVersion()Get the version of this PKCS#11 module.StringgetManufacturerID()Get the identifier of the manufacturer.StringtoString()Returns the string representation of this object.
-
-
-
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.
-
-