PIISecuredInfo
- Schema
- Example
[+]encryptionParams
OptionalObject
The parameters for shared encryption/decryption info, it depends to the algorithm type, if no necessary, please leave it blank or empty
Example
(Refer to inner structure)
[+]initiatorKeyInfo
RequiredObject
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.
Example
(Refer to inner structure)
piiSecretFormatType
RequiredString
PiiSecretFormatType
Min Length0
Max Length32
Example
FULL_JSON_OBJECT_ENCRYPT
piiSpecVersion
RequiredString
PIISpecVersionType
Min Length0
Max Length32
Example
ivms101-2020
[+]receiverKeyInfo
RequiredObject
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.
Example
(Refer to inner structure)
secretAlgorithm
RequiredString
AlgorithmType
Min Length0
Max Length64
Example
ecies_secp256r1
securedPayload
RequiredString
encrypted payload for PII
Min Length0
Max Length80000
Example
(base64 or other format's encrypted raw text)
{
"piiSpecVersion": "ivms101-2020",
"secretAlgorithm": "ecies_secp256r1",
"receiverKeyInfo": "(Refer to inner structure)",
"initiatorKeyInfo": "(Refer to inner structure)",
"securedPayload": "(base64 or other format's encrypted raw text)",
"encryptionParams": "(Refer to inner structure)",
"piiSecretFormatType": "FULL_JSON_OBJECT_ENCRYPT"
}