RSA Encryption
This adapter encrypts or decrypts input data (byte data stream) with the RSA algorithm and outputs a byte data stream (2048-bit RSA key).
Note:
The maximum byte length of encrypted input data is the length of the RSA key in bits divided by 8, minus 11 fill bytes. For example, the maximum byte length for a 1024-bit RSA key is calculated as follows: 1024/8 -11 = 117 bytes; A 2048-bit RSA key decrypts input data with a maximum length of 245 bytes.
Properties
Operation | Determines which operation the adapter executes Possible values:
|
Parameters
Adapter | Main class of the adapter (do not change!) Possible values: en.softproject.integration.adapter.rsa.RSAAdapter: Main class (default) |
path | Path to the keystore file Possible values: Any absolute or relative path |
alias | Short name of the entry that has a key in the keystore Possible values: Any string |
keyType | Key type used Possible values:
|
keystorePassword | Password for the keystore file Possible values: Any string |
privatePassword | Password to obtain the private key from the keystore file Possible values: Any string |
Status values
1 | The operation was executed successfully. |
-1 | The operation failed due to a technical error. |