Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4197)

Unified Diff: chrome/browser/chromeos/cros/cert_library.h

Issue 7756025: Changed OAuth token+secret encryption to use supplemental user key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/cros/cert_library.h
===================================================================
--- chrome/browser/chromeos/cros/cert_library.h (revision 99168)
+++ chrome/browser/chromeos/cros/cert_library.h (working copy)
@@ -96,6 +96,13 @@
// Returns the current list of server CA certificates.
virtual const CertList& GetCACertificates() const = 0;
+
+ // Encrypts |raw_data| with supplemental user key.
+ virtual bool EncryptWithSupplementalUserKey(const std::string& raw_data,
+ std::string* encryped_data) const = 0;
+ // Decrypts |encryped_data| with supplemental user key.
+ virtual bool DecryptWithSupplementalUserKey(const std::string& encryped_data,
+ std::string* raw_data) const = 0;
};
} // namespace chromeos
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/cert_library.cc » ('j') | chrome/browser/chromeos/login/parallel_authenticator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698