Hy staff,just only little advices if you can....
I've successfully implemented a Digest Authentication Plugin:
string AUTH_REALM = "registered_users@mydomain.com"
string AUTH_QOP = "auth";
strNonce = GenerateNonce() //It's evaluated Datetime.Now + 3
Challenge=Enc.GetBytes("realm=\"" + AUH_REALM + "\",qop=\"" +
AUTH_QOP + "\",nonce=\"" + strNonce + "\", charset=utf-8");
I don't use MD5-sees but classic MD5 because if I specify that
algorithm in the challenge I receive error by WMP9 of per-message not
supported ??????????
To capture values in the Response I use a dictionary:
ListDictionary dict = new ListDictionary();
string[] parts = strResponse.Split(new char[] {','});
A strange thing is that (string)dict["realm"] = "",that is WMP9
doesn't take me
back the value of the realm the Server send in the Challenge!!!!!!!
Anyway I can successfully reconstruct strDigestHash being careful of
using Algoritm MD5 and not MD5-sees.
If Anyone can tell me how to adjust realm and what about per-message
error....
Bye bye to All!
lcs - 19 Sep 2004 07:31 GMT
Can you send a example about the plgin to me and I want to see it.Thanks.
My mail is lcs75@sina.com
> Hy staff,just only little advices if you can....
>
[quoted text clipped - 26 lines]
>
> Bye bye to All!
Alberto - 26 Sep 2004 22:41 GMT
I can't show you all ...
I don't know which aspect of the plugin are you interested for, please
be more specific and I'll see to help you.