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

Unified Diff: net/cert/x509_certificate.h

Issue 16946002: Resolve certificate references in ONC by PEM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed automation part. 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: net/cert/x509_certificate.h
diff --git a/net/cert/x509_certificate.h b/net/cert/x509_certificate.h
index b75efa70d9a5bd163a5f7a9fb6c256ed649354e1..9a9282c38f737945a457170977588142826fe03a 100644
--- a/net/cert/x509_certificate.h
+++ b/net/cert/x509_certificate.h
@@ -347,10 +347,10 @@ class NET_EXPORT X509Certificate
static bool GetDEREncoded(OSCertHandle cert_handle,
std::string* der_encoded);
- // Returns the PEM encoded data from an OSCertHandle. If the return value is
- // true, then the PEM encoded certificate is written to |pem_encoded|.
- static bool GetPEMEncoded(OSCertHandle cert_handle,
- std::string* pem_encoded);
+ // Encodes the this certificate (ignoring intermediate certificates stored in
Mattias Nissler (ping if slow) 2013/06/14 12:56:44 remove "the"
pneubeck (no reviews) 2013/06/21 12:53:56 Done.
+ // |intermediate_ca_certs_|) as a PEM encoded string. Returns true if the
+ // certificates was encoded, storig the result in |*pem_encoded|.
+ bool GetPEMEncoded(std::string* pem_encoded) const;
// Encodes the entire certificate chain (this certificate and any
// intermediate certificates stored in |intermediate_ca_certs_|) as a series

Powered by Google App Engine
This is Rietveld 408576698