Robert Relyea wrote:
The crypto object offers a logout method that does it.
>  
http://mxr.mozilla.org/security/source/security/manager/ssl/src/nsCrypto.cpp#2875
>
This will get Anders what he needs right now. (side effect, everything
is logged out).

This also means that crypto.logout() is really useful, and until now about nobody used it, because nobody just knew about it.

Being able to get a client certificate prompt again without restarting the browser is really useful, even with the side effect.

I modified MDC to document what it does exactly.
https://developer.mozilla.org/en/JavaScript_crypto#Miscellaneous

If I'm saying anything wrong, or if my wording can be improved, don't hesitate. I tested the behavior described so I believe it's correct.

--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to