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

Unified Diff: chromeos/network/onc/onc_certificate_importer.h

Issue 11664005: Extending the translation from ONC to Shill. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Initial patch. Created 8 years 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: chromeos/network/onc/onc_certificate_importer.h
diff --git a/chromeos/network/onc/onc_certificate_importer.h b/chromeos/network/onc/onc_certificate_importer.h
index bb64f81abe0732a068e6b1d69f288d97ff42fc83..ef765acbbe3fd16fae4f18602a7172367f89b2b6 100644
--- a/chromeos/network/onc/onc_certificate_importer.h
+++ b/chromeos/network/onc/onc_certificate_importer.h
@@ -62,6 +62,10 @@ class CHROMEOS_EXPORT CertificateImporter {
static void ListCertsWithNickname(const std::string& label,
net::CertificateList* result);
+ // Find the PKCS#11 ID of the certificate with the given GUID. Returns an
+ // empty string on failure.
+ static std::string GetPkcs11IdFromCertGuid(const std::string& guid);
+
protected:
// Deletes any certificate that has the string |label| as its nickname (exact
// match).

Powered by Google App Engine
This is Rietveld 408576698