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.PKCS11Exceptionjava.io.IOExceptionLoginExceptionSmartCardExceptionpublic 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
LoginExceptionsun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionjava.io.IOExceptionpublic P11SmartCard checkOutItem() throws tr.gov.tubitak.uekae.esya.api.common.ESYAException
tr.gov.tubitak.uekae.esya.api.common.ESYAExceptionpublic boolean offer(P11SmartCard sc)
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic long getSlotNo()
Copyright © 2025. All rights reserved.