| Index: net/base/x509_certificate.h
|
| diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h
|
| index 349a08cd0c14a77f217b2654372af573eba6e809..06d8719dc83a0b19b723de6e4fbe9551dc03dda3 100644
|
| --- a/net/base/x509_certificate.h
|
| +++ b/net/base/x509_certificate.h
|
| @@ -289,6 +289,11 @@ class X509Certificate : public base::RefCountedThreadSafe<X509Certificate> {
|
| int flags,
|
| CertVerifyResult* verify_result) const;
|
|
|
| + // This method returns the DER encoded certificate.
|
| + // If the return value is true then the DER encoded certificate is available.
|
| + // The content of the DER encoded certificate is written to |encoded|.
|
| + bool GetDEREncoded(std::string* encoded);
|
| +
|
| OSCertHandle os_cert_handle() const { return cert_handle_; }
|
|
|
| // Returns true if two OSCertHandles refer to identical certificates.
|
|
|