views:

149

answers:

1

Hello. I need to get those parameterso of OpenId protocol: sd["openid.assoc_type"] = ???; sd["openid.session_type"] = ???; sd["openid.dh_modulus"] = ???; sd["openid.dh_gen"] = ???; sd["openid.dh_consumer_public"] = ???;

How can I get it using ECDiffieHellmanCng? Is it real?

A: 

Last I checked, ECDiffieHellmanCng is not the Diffie-Hellman algorithm that OpenID uses. DotNetOpenId doesn't use it (for that reason).

DotNetOpenId has it's own built-in implementation of the DH algorithm since it's not built into .NET. And it should properly handle the openid.dh_modulus and openid.dh_gen parameters already.

What are you trying to do?

Andrew Arnott