Move HostKeyPair into protocol::KeyPair.
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
Showing with 330 additions and 248 deletions