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.RuntimeException
public static void closeInterface(long deviceHandle) throws java.lang.RuntimeException
java.lang.RuntimeException
public static void initCipher(long deviceHandle, byte[] iv, byte[] key, int operation) throws java.lang.RuntimeException
java.lang.RuntimeException
public static void update(long deviceHandle, byte[] inBuffer, int inOffset, byte[] outBuffer, int outOffset, int size) throws java.lang.RuntimeException
java.lang.RuntimeException
public static void getRandomBytes(long deviceHandle, byte[] outBuffer, int offset, int size) throws java.lang.RuntimeException
java.lang.RuntimeException
public static void readMemory(long deviceHandle, int memoryOffset, byte[] outBuffer, int offset, int size) throws java.lang.RuntimeException
java.lang.RuntimeException
public static void writeMemory(long deviceHandle, int memoryOffset, byte[] inBuffer, int offset, int size) throws java.lang.RuntimeException
java.lang.RuntimeException
public static int getDeviceVersion(long deviceHandle) throws java.lang.RuntimeException
java.lang.RuntimeException
public static void lockDevice(long deviceHandle, int timeout) throws java.lang.RuntimeException
java.lang.RuntimeException
public static void unlockDevice(long deviceHandle) throws java.lang.RuntimeException
java.lang.RuntimeException
Copyright © 2025. All rights reserved.