Chromium Code Reviews| 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 |