long SKF_EnumDev(int bPresent, ByteByReference szNameList, IntByReference pulSize);
long SKF_ConnectDev(String szName, PointerByReference phDev);
long SKF_DisConnectDev(Pointer hDev);
long SKF_GetDevInfo(Pointer hDev, DEVINFO pDevInfo);
//应用操作
int SKF_EnumApplication(Pointer hDev, ByteByReference szAppName, IntByReference pulSize);
int SKF_CreateApplication(Pointer hDev, String szAppName, String szAdminPin, int dwAdminPinRetryCount, String szUserPin, int dwUserPinRetryCount, int dwCreateFileRights, PointerByReference hApp);
int SKF_OpenApplication(Pointer hDev, String appName, PointerByReference hApp);
int SKF_CloseApplication(Pointer hApp);
//访问控制
int SKF_ChangeDevAuthKey(Pointer hDev, byte[] pbKeyValue, int ulKeyLen);
int SKF_DevAuth(Pointer hDev, byte[] pbAuthData, int ulLen);
int SKF_ChangePIN(Pointer hApplication, int ulPINType, String oldPIN, String newPIN, IntByReference pulRetryCount);
int SKF_GetPINInfo(Pointer hApplication, int ulPINType, IntByReference pulMaxRetryCount, IntByReference pulRemainRetryCount, IntByReference pbDefaultPin);
int SKF_VerifyPIN(Pointer hApplication, int ulPINType, String szPIN, IntByReference pulRetryCount);
int SKF_UnblockPIN(Pointer hApplication, String szAdminPIN, String szNewUserPIN, IntByReference pulRetryCount);
int SKF_ClearSecueState(Pointer hApplication);
//容器管理
int SKF_CreateContainer(Pointer hApplication, String szContainerName, PointerByReference phContainer);
int SKF_DeleteContainer(Pointer hApplication, String szContainerName);
int SKF_EnumContainer(Pointer hApplication, byte[] szContainerName, IntByReference pulSize);
int SKF_OpenContainer(Pointer hApplication, String szContainerName, PointerByReference phContainer);
int SKF_CloseContainer(Pointer hContainer);
int SKF_GetContainerType(Pointer hContainer, IntByReference pulContainerType);
// 密码服务
// int SKF_ExportCertificate(Pointer hContainer, boolean bSignFlag, byte[] pbCert, IntByReference pulCertLen);