|  |  |  |  |
| encryptionParams | Object | No | The parameters for shared encryption/decryption info, it depends to the algorithm type, if no necessary, please leave it blank or empty |
| Property | Type | Description |
|---|
| ecies | Object | required if you're using ecies algorithm (ecies_secp384r1_tubitak) should refer to this structure | | Property | Type | Description |
|---|
| ephemeralPublicKey | String | |
|
|
| initiatorKeyInfo | Object | Yes | initiatorKeyInfo is the direction of Travel Rule Initiator, if you're the initiator, this key should be yours, if you're the receiver (callback server), this is the counter-party VASP's public key that can use to decrypt the PII and encrypt the PII back. |
| Property | Type | Description |
|---|
| publicKey | String | publicKey is the key-parameters for encryption according to the selected algorithm. If the key already be base64 like (Curve25519) 0szeNNub/IGoe623JCGD4B4bH8I94FozOeZjv1dKlXQ=, then no need to do anything, the PEM format like (RSA) -----BEGIN CERTIFICATE-----, no need to remove it, keep it and bring out instead. |
|
| piiSecretFormatType | String | Yes | PiiSecretFormatType |
| piiSpecVersion | String | Yes | PIISpecVersionType |
| receiverKeyInfo | Object | Yes | receiverKeyInfo is the direction of Travel Rule Receiver, if you're the initiator, this key must set to the counter-party (targetVasp) VASP's publicKey, if you're the receiver (callback server), this key should be your public key. |
| Property | Type | Description |
|---|
| publicKey | String | publicKey is the key-parameters for encryption according to the selected algorithm. If the key already be base64 like (Curve25519) 0szeNNub/IGoe623JCGD4B4bH8I94FozOeZjv1dKlXQ=, then no need to do anything, the PEM format like (RSA) -----BEGIN CERTIFICATE-----, no need to remove it, keep it and bring out instead. |
|
| secretAlgorithm | String | Yes | AlgorithmType |
| securedPayload | String | Yes | encrypted payload for PII |