public class SlotInfo extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
SlotInfo(sun.security.pkcs11.wrapper.CK_SLOT_INFO ckSlotInfo)
Constructor that takes the CK_SLOT_INFO object as given by
PKCS11.C_GetSlotInfo().
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object.
|
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.
|
int |
hashCode()
The overriding of this method should ensure that the objects of this
class work correctly in a hashtable.
|
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.
|
protected SlotInfo(sun.security.pkcs11.wrapper.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()
public boolean equals(Object otherObject)
Copyright © 2018. All rights reserved.