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). |