summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_key_pair.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 01:11:24 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 01:11:24 +0000
commit77b10182480270e2737c58c5b3d6a73e901b3f6b (patch)
tree07e9ef5ba2b2f98b9bc42ab7c305759c589c2be8 /remoting/host/host_key_pair.h
parent17e92030ad8eef809db6563d91a1328f96fbd24d (diff)
downloadchromium_src-77b10182480270e2737c58c5b3d6a73e901b3f6b.zip
chromium_src-77b10182480270e2737c58c5b3d6a73e901b3f6b.tar.gz
chromium_src-77b10182480270e2737c58c5b3d6a73e901b3f6b.tar.bz2
Add methods needed for host registration in chromoting host plugin.
- Parsing config parameter for the SetConfigAndStart(). - Added getConfig(). - Added generateHostKeyPair(). Review URL: http://codereview.chromium.org/9874007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129546 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/host_key_pair.h')
-rw-r--r--remoting/host/host_key_pair.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/host/host_key_pair.h b/remoting/host/host_key_pair.h
index 6fd74f3..a2b9d5d 100644
--- a/remoting/host/host_key_pair.h
+++ b/remoting/host/host_key_pair.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -31,6 +31,7 @@ class HostKeyPair {
crypto::RSAPrivateKey* private_key() { return key_.get(); }
+ std::string GetAsString() const;
std::string GetPublicKey() const;
std::string GetSignature(const std::string& message) const;