Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Subsribe Decryption not wroking in net framewrok #59

Open
KuwarPratapSingh opened this issue Jan 9, 2024 · 1 comment
Open

On Subsribe Decryption not wroking in net framewrok #59

KuwarPratapSingh opened this issue Jan 9, 2024 · 1 comment

Comments

@KuwarPratapSingh
Copy link

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);

 
    }
@KuwarPratapSingh
Copy link
Author

Can anyone help on this issue

extedcouD pushed a commit to extedcouD/developer-docs that referenced this issue Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant