public class SlotInfo extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
SlotInfo(CK_SLOT_INFO ckSlotInfo)
Constructor that takes the CK_SLOT_INFO object as given by
PKCS11.C_GetSlotInfo().
|
| Modifier and Type | Method and Description |
|---|---|
Version |
getFirmwareVersion()
Get the version of the slot's firmware.
|
Version |
getHardwareVersion()
Get the version of the slot's hardware.
|
String |
getManufacturerID()
Get an identifier for the manufacturer of this slot.
|
String |
getSlotDescription()
Get a short description of this slot.
|
boolean |
isHwSlot()
Indicate, if the token is a hardware device or if it is just a pure
software implementation; e.g.
|
boolean |
isRemovableDevice()
Indicate, if the token is removable from this slot or not.
|
boolean |
isTokenPresent()
Indicates, if there is a token present in this slot.
|
String |
toString()
Returns the string representation of this object.
|
String |
toString(String indent) |
protected SlotInfo(CK_SLOT_INFO ckSlotInfo)
ckSlotInfo - The CK_SLOT_INFO object as given by PKCS11.C_GetSlotInfo().public String getSlotDescription()
public String getManufacturerID()
public Version getHardwareVersion()
public Version getFirmwareVersion()
public boolean isTokenPresent()
public boolean isRemovableDevice()
public boolean isHwSlot()
public String toString()
Copyright © 2023. All rights reserved.