void stopAllProcesses() |
Sets the stop flag to true, forcibly halting all ongoing processes. Use this method only when shutting down the application. |
void initializeDynamicKeyStorage() |
Pre-allocates memory for dynamic keys that will be extracted later. This can optimize memory usage, especially when dealing with large numbers of dynamic keys. |
void initializeStaticKeyStorage() |
Pre-allocates memory for static keys that will be extracted later. This can optimize memory usage, especially when dealing with large numbers of static keys. |
void resetAllKeyStores() |
Removes all extracted keys from memory and resets all key-related variables to their default values. Use this method when switching to a new set of keys, making the old ones obsolete. |
int keyLengthForBits() |
Returns the key length corresponding to the provided bit size. |
boolean keyLengthSupportsRBS() |
Checks whether the specified key length supports Remote Boot Services (RBS). |
int[] generateDynamicKey() |
Generates a dynamic key as an integer array based on the provided parameters. |
String generateDynamicKeyString() |
Generates a dynamic key string based on the provided parameters. |
int[] generateStaticKey() |
Generates a static key as an integer array based on the specified key length. |
String generateStaticKeyString() |
Generates a static key string based on the specified key length. |
int extractDynamicKeyString() |
Returns a reference ID after extracting the provided dynamic key string. |
int extractDynamicKey() |
Returns a reference ID after extracting the provided dynamic key as an integer array. |
int extractStaticKeyString() |
Returns a reference ID after extracting the provided static key string. |
int extractStaticKey() |
Returns a reference ID after extracting the provided static key as an integer array. |
int extractStaticKeyReversed() |
Returns a reference ID after re-extracting an already extracted static key in reverse order, providing an additional usable static key. |
int rbsNumberOfBytesToPass() |
Returns the number of bytes to pass to the SAS-RBS encryption/decryption methods for a given dynamic key ID. |
byte[] rbsByteEncrypt() |
Encrypts the provided byte array using SAS-RBS and returns the encrypted byte array. |
byte[] rbsByteDecrypt() |
Decrypts the given SAS-RBS encrypted byte array and returns the decrypted byte array. |
String rcsTextEncrypt() |
Encrypts the provided string using SAS-RCS and returns the encrypted string. |
String rcsTextDecrypt() |
Decrypts the given SAS-RCS encrypted string and returns the decrypted string. |
int rcsNumOfBytesToPass() |
Returns the number of bytes to pass to the SAS-RCS encryption/decryption methods to achieve a specific output string length. |
String rcsByteEncrypt() |
Encrypts the provided byte array using SAS-RCS and returns the resulting encrypted string. |
byte[] rcsByteDecrypt() |
Decrypts the provided SAS-RCS encrypted string and returns the decrypted byte array. |
int stringToInt() |
Converts the provided string representation of a number into an integer. |
int charToInt() |
Converts the provided character (char) number into an integer. |
String[] stringBreaker() |
Splits a string into parts based on the specified delimiter character. |
String[] stringDivider() |
Divides a string into groups, with a set number of characters per group. |
String[] stringToCharStringArr() |
Converts each character of a string into a separate string, returning them as an array of strings. |
String intArrayToBase64_Encode() |
Encodes an integer array into a Base64 string. |
int[] intArrayToBase64_Decode() |
Decodes a Base64 encoded string into an integer array. |