Receiver publickey length in datapush C# Gist

@kiranma @Pankaj @neha.parnami @Shubhanshu_Shukla

{
“transactionId”: “1f567777-1842-418b-9916-a29974b42625”,
“requestId”: “e1eee05d-86bb-49ab-84a4-d99d4030678a”,
“timestamp”: “2022-05-18T17:01:17.584903”,
“hiRequest”: {
“consent”: {
“id”: “7f0df9e9-1b24-4eee-adbb-ec979bff54c3”
},
“dateRange”: {
“from”: “2015-05-18T17:00:46.572052”,
“to”: “2022-05-18T17:00:46.572053”
},
“dataPushUrl”: “https://dev.abdm.gov.in/patient-hiu/data/notification”,
“keyMaterial”: {
“cryptoAlg”: “ECDH”,
“curve”: “curve25519”,
“dhPublicKey”: {
“expiry”: “2022-05-20T17:00:47.260595”,
“parameters”: “Ephemeral public key”,
“keyValue”: “BFdpSqsbrKeS4sZie2NIfccpFTGcGVKMz40aMx4oRWalI+fjaMYnBNL9bq098WpJIt4soJWZ3J77UF/AvpkUuXc=”
},
“nonce”: “EqZE8VpcYDR1kRsMlcOvXNUqrpsVELmR4tbS32p1raU=”
}
}
}

this is Hip publc key value = “BFdpSqsbrKeS4sZie2NIfccpFTGcGVKMz40aMx4oRWalI+fjaMYnBNL9bq098WpJIt4soJWZ3J77UF/AvpkUuXc=”

Using Gist provided in C#
getting this error System.IO.IOException: corrupted stream - out of bounds length found: 87 >= 65

@Govind_Deshmukh kindly look.


above is repo you could check the code too.

please help we are stuck here

waiting for reply. kindly help

@Govind_Deshmukh / @skvasanth can you suggest?

Hi @Ramandeep1,

Please check with @Shubhanshu_S.

Thanks,
Govind D