summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/v2_authenticator.h
Commit message (Collapse)AuthorAgeFilesLines
* Move HostKeyPair into protocol::KeyPair.rmsousa@chromium.org2013-03-071-6/+5
| | | | | | | | | | This makes the RSAPrivateKey dependency encapsulated inside KeyPair, and makes it a refcounted object, rather than copying the private key on every authenticator constructor. It also allows authenticators to use the KeyPair methods (such as GetSignature() or GetPublicKey()). BUG=115899 Review URL: https://chromiumcodereview.appspot.com/12316083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186709 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor of Authenticator to allow it to ProcessMessage asynchronously and ↵rmsousa@chromium.org2013-03-011-1/+4
| | | | | | | | | | | | then call a callback This is so that ProcessMessage can potentially require user input (or use the result of a network operation) without blocking the network thread on JingleSession. BUG=115899 Review URL: https://chromiumcodereview.appspot.com/12389010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185492 0039d316-1c4b-4281-b951-d872f2087c98
* Implement NegotiatingAuthenticator.sergeyu@chromium.org2012-01-301-6/+9
| | | | | | | | BUG=105214 Review URL: https://chromiumcodereview.appspot.com/9284034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119765 0039d316-1c4b-4281-b951-d872f2087c98
* Change Authenticator interface to properly handle protocol errors.sergeyu@chromium.org2012-01-241-0/+2
| | | | | | | | | | | | | Previously all error of the auth protocol were interpreted as invalid credentials even when the error was due to some other reason, e.g. incompatible protocol. BUG=105214 Review URL: http://codereview.chromium.org/9270052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118894 0039d316-1c4b-4281-b951-d872f2087c98
* Use scoped_ptr<>.Pass() to pass ownership in the remoting protocol code.sergeyu@chromium.org2012-01-201-4/+5
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9240033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118407 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup AuthenticatorFactory implementations.sergeyu@chromium.org2012-01-111-22/+1
| | | | | | | | | | | | 1. Removed V1HostAuthenticatorFactory and V2HostAuthenticatorFactory, as they are not used anywhere. 2. Changed the code to pass RSAPrivateKey by reference instead of pointer. Review URL: http://codereview.chromium.org/9150014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117176 0039d316-1c4b-4281-b951-d872f2087c98
* Added Me2Me-specific authenticator factory.sergeyu@chromium.org2012-01-101-6/+6
| | | | | | | | BUG=105214 Review URL: http://codereview.chromium.org/9158003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116968 0039d316-1c4b-4281-b951-d872f2087c98
* EKE-based Authenticator implementation.sergeyu@chromium.org2011-12-221-0/+93
BUG=105214 Review URL: http://codereview.chromium.org/8969009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115625 0039d316-1c4b-4281-b951-d872f2087c98