Skip to main content
Skip table of contents

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:

  • Encrypt: RSA-encrypt input data

  • Decrypt: Decrypt RSA-encrypted input data

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:

  • private: Use private key (default)

  • public: Use public key

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

1The operation was executed successfully.
-1The operation failed due to a technical error.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.