public class UEKAECryptoCard
extends java.lang.Object
| Constructor and Description |
|---|
UEKAECryptoCard() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeInterface(long deviceHandle) |
static int |
getDeviceVersion(long deviceHandle) |
static void |
getRandomBytes(long deviceHandle,
byte[] outBuffer,
int offset,
int size) |
static void |
initCipher(long deviceHandle,
byte[] iv,
byte[] key,
int operation) |
static void |
lockDevice(long deviceHandle,
int timeout) |
static long |
openInterface(int cardInstance) |
static void |
readMemory(long deviceHandle,
int memoryOffset,
byte[] outBuffer,
int offset,
int size) |
static void |
unlockDevice(long deviceHandle) |
static void |
update(long deviceHandle,
byte[] inBuffer,
int inOffset,
byte[] outBuffer,
int outOffset,
int size) |
static void |
writeMemory(long deviceHandle,
int memoryOffset,
byte[] inBuffer,
int offset,
int size) |
public static long openInterface(int cardInstance)
throws java.lang.RuntimeException
java.lang.RuntimeExceptionpublic static void closeInterface(long deviceHandle)
throws java.lang.RuntimeException
java.lang.RuntimeExceptionpublic static void initCipher(long deviceHandle,
byte[] iv,
byte[] key,
int operation)
throws java.lang.RuntimeException
java.lang.RuntimeExceptionpublic static void update(long deviceHandle,
byte[] inBuffer,
int inOffset,
byte[] outBuffer,
int outOffset,
int size)
throws java.lang.RuntimeException
java.lang.RuntimeExceptionpublic static void getRandomBytes(long deviceHandle,
byte[] outBuffer,
int offset,
int size)
throws java.lang.RuntimeException
java.lang.RuntimeExceptionpublic static void readMemory(long deviceHandle,
int memoryOffset,
byte[] outBuffer,
int offset,
int size)
throws java.lang.RuntimeException
java.lang.RuntimeExceptionpublic static void writeMemory(long deviceHandle,
int memoryOffset,
byte[] inBuffer,
int offset,
int size)
throws java.lang.RuntimeException
java.lang.RuntimeExceptionpublic static int getDeviceVersion(long deviceHandle)
throws java.lang.RuntimeException
java.lang.RuntimeExceptionpublic static void lockDevice(long deviceHandle,
int timeout)
throws java.lang.RuntimeException
java.lang.RuntimeExceptionpublic static void unlockDevice(long deviceHandle)
throws java.lang.RuntimeException
java.lang.RuntimeExceptionCopyright © 2025. All rights reserved.