public class SlotInfo
extends java.lang.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 |
|---|---|
Version |
getFirmwareVersion()
Get the version of the slot's firmware.
|
Version |
getHardwareVersion()
Get the version of the slot's hardware.
|
java.lang.String |
getManufacturerID()
Get an identifier for the manufacturer of this slot.
|
java.lang.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.
|
java.lang.String |
toString()
Returns the string representation of this object.
|
java.lang.String |
toString(java.lang.String indent) |
protected SlotInfo(sun.security.pkcs11.wrapper.CK_SLOT_INFO ckSlotInfo)
ckSlotInfo - The CK_SLOT_INFO object as given by PKCS11.C_GetSlotInfo().public java.lang.String getSlotDescription()
public java.lang.String getManufacturerID()
public Version getHardwareVersion()
public Version getFirmwareVersion()
public boolean isTokenPresent()
public boolean isRemovableDevice()
public boolean isHwSlot()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String indent)
Copyright © 2023. All rights reserved.