We are facing an issue while implementing the data decryption for M3, We received the following encrypted data but are not able to decrypt the data using the keyValue and norch provided by the ABDM.
receiver.publickey=AwAguJcDD6XcMjacJ7RZVuHhXQcWk6vRALgoNpvx3BC1
receiver.nonce=WravreMJ8AfWCXR3T5ni+Ty3hkiAWwHpejRBIRGyHz4=
"parameters": "Curve25519/32byte random key",
"parameters": "Ephemeral public key",
/v0.5/health-information/transfer
{
"pageNumber": 1,
"pageCount": 1,
"transactionId": "2ca7a91d-1735-4b04-8ebb-f1290973e567",
"entries": [
{
"content": "XKuDLcMwACJlK0DXnRB4fKGWrGpsdKtIQbY8vuLlhiatg8zYpINYISOYDHqQYVgSVF0VCMzD9GLt",
"media": "application/fhir+json",
"checksum": "",
"careContextReference": "17971"
}
],
"keyMaterial": {
"cryptoAlg": "ECDH",
"curve": "curve25519",
"dhPublicKey": {
"expiry": "2022-04-01T07:09:45.730",
"parameters": "Ephemeral public key",
"keyValue": "MIIBMTCB6gYHKoZIzj0CATCB3gIBATArBgcqhkjOPQEBAiB/////////////////////////////////////////7TBEBCAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqYSRShRAQge0Je0Je0Je0Je0Je0Je0Je0Je0Je0Je0JgtenHcQyGQEQQQqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq0kWiCuGaG4oIa04B7dLHdI0UySPU1+bXxhsinpxaJ+ztPZAiAQAAAAAAAAAAAAAAAAAAAAFN753qL3nNZYEmMaXPXT7QIBCANCAAQvKxb7694xUFw8DI5s/Ka76GII4EVi8t40NBQxeUlmdlvxBhZ88ZERa1u+WiZIrKuTAkttL1iODTn8/IyERM6u"
},
"nonce": "iZAbJrV6kcvCdzR/mHb4YcD5JvYvwv0Ke5xcvw5uB70="
}
}
NOTE : Content removed because the issue has character limit.