Dear Team,
Can someone help us on below problem getting at the time of subscribe .
What key should we use for decrypt the encryption get from on subscribe .
Also do you have any utility in dot net framework .
Error :-
Invalid algorithm specified.
private ECDiffieHellmanCng LoadPrivateKey(string encPrivateKey)
{
byte[] privateKeyBytes = Convert.FromBase64String(encPrivateKey);
CngKey cngKey = CngKey.Import(privateKeyBytes, CngKeyBlobFormat.Pkcs8PrivateBlob);
return new ECDiffieHellmanCng(cngKey);
}