public interface P11Module
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
P11ModuleConf |
getConf() |
String |
getDescription() |
String |
getName() |
P11Slot |
getSlot(P11SlotIdentifier slotId)
Returns slot for the given
slotId. |
P11SlotIdentifier |
getSlotIdForId(long id) |
P11SlotIdentifier |
getSlotIdForIndex(int index) |
List<P11SlotIdentifier> |
getSlotIds() |
boolean |
isReadOnly() |
String getName()
String getDescription()
P11ModuleConf getConf()
boolean isReadOnly()
List<P11SlotIdentifier> getSlotIds()
P11Slot getSlot(P11SlotIdentifier slotId) throws P11TokenException
slotId.slotId - slot identifier. Must not be null.P11TokenException - if PKCS#11 token error occursP11SlotIdentifier getSlotIdForIndex(int index) throws P11UnknownEntityException
P11UnknownEntityExceptionP11SlotIdentifier getSlotIdForId(long id) throws P11UnknownEntityException
P11UnknownEntityExceptionvoid close()
Copyright © 2018. All rights reserved.