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

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

Issue 16946002: Resolve certificate references in ONC by PEM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tests. Created 7 years, 6 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
diff --git a/chrome/browser/chromeos/cros/cert_library.h b/chrome/browser/chromeos/cros/cert_library.h
index 46890cfb839afc676b88c6901a7587f9062a9930..88095613bc893358386d323292fdd149c0991634 100644
--- a/chrome/browser/chromeos/cros/cert_library.h
+++ b/chrome/browser/chromeos/cros/cert_library.h
@@ -68,12 +68,14 @@ class CertLibrary : public CertLoader::Observer {
// Retreives the certificate property for |type| at |index|.
string16 GetCertDisplayStringAt(CertType type, int index) const;
- std::string GetCertNicknameAt(CertType type, int index) const;
+ std::string GetCertFingerprintAt(CertType type, int index) const;
std::string GetCertPkcs11IdAt(CertType type, int index) const;
bool IsCertHardwareBackedAt(CertType type, int index) const;
- // Returns the index of a Certificate matching |nickname| or -1 if none found.
- int GetCertIndexByNickname(CertType type, const std::string& nickname) const;
+ // Returns the index of a Certificate matching |fingerprint| or -1 if none
+ // found.
+ int GetCertIndexByFingerprint(CertType type,
+ const std::string& fingerprint) const;
// Same as above but for a PKCS#11 id. TODO(stevenjb): Replace this with a
// better mechanism for uniquely idientifying certificates, crbug.com/236978.
int GetCertIndexByPkcs11Id(CertType type, const std::string& pkcs11_id) const;
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/cert_library.cc » ('j') | chrome/browser/chromeos/cros/network_library.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698