3.4.7.2 Create a Key Pair for Transaction Token
The application supports including a MicroTx signed transaction token which is unique to each MicroTx transaction.
When you set transactionTokenEnabled
to true, MicroTx creates a new token called tmm-tx-token
, which is a signed transaction token. When transaction initiator begins a request, the MicroTx responds with the tmm-tx-token
. To secure calls from the participant services to MicroTx, the MicroTx library passes tmm-tx-token
in the request header. You don't have to create the tmm-tx-token
transaction token or pass it in the request header. The MicroTx library creates this token based on the private-public key pair that you provide.
- Asymmetric algorithm: RSA 3072
- Key length: 3072 bits
- Hash algorithm: SHA256
Before you begin, ensure that you have installed OpenSSL.
Parent topic: Authenticate and Authorize