public class HSMPool
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INITIAL_CAPACITY |
static int |
DEFAULT_MAX_CAPACITY |
static int |
DEFAULT_TIMEOUT_INSECONDS |
Constructor and Description |
---|
HSMPool(CardType cardType,
int slotNo,
java.lang.String pin) |
HSMPool(CardType cardType,
int slotNo,
java.lang.String pin,
int initialCapacity,
int maxCapacity,
int timeoutInSeconds) |
Modifier and Type | Method and Description |
---|---|
P11SmartCard |
checkOutItem() |
protected void |
finalize() |
long |
getSlotNo() |
boolean |
offer(P11SmartCard sc) |
public static int DEFAULT_INITIAL_CAPACITY
public static int DEFAULT_MAX_CAPACITY
public static int DEFAULT_TIMEOUT_INSECONDS
public HSMPool(CardType cardType, int slotNo, java.lang.String pin) throws sun.security.pkcs11.wrapper.PKCS11Exception, java.io.IOException, LoginException, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
java.io.IOException
LoginException
SmartCardException
public HSMPool(CardType cardType, int slotNo, java.lang.String pin, int initialCapacity, int maxCapacity, int timeoutInSeconds) throws LoginException, sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException, java.io.IOException
LoginException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.io.IOException
public P11SmartCard checkOutItem() throws tr.gov.tubitak.uekae.esya.api.common.ESYAException
tr.gov.tubitak.uekae.esya.api.common.ESYAException
public boolean offer(P11SmartCard sc)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public long getSlotNo()
Copyright © 2025. All rights reserved.