Unable to decrypt the message - /v0.5/health-information/transfer

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.

Content removed because the issue has character limit. So, please see the google doc to see the request, response call for the data transfer.

Hey @bunair,

Please try now.

Thanks

We tried today , but still unable to decrypt the data received from following HIU

“hipId”: “IN3410000238”,
“hipName”: “Manakular Vinayagar medical College and hospital city centre”

Please check the attached files for request response details:

Hey @bunair,

Not able to find consent artefact id - 9531138c-9334-4610-b6e3-c269c56c5cbe in database.
Please test with fresh consent.
Please share the sequence of Api’s which you are executing for data transfer call.

For encryption decryption in java take inspiration from below,

Thanks