| Index: net/cert/x509_certificate.h
|
| diff --git a/net/cert/x509_certificate.h b/net/cert/x509_certificate.h
|
| index 008de71f13e31fb638ea452e83ed94aae139ea48..85b7c6f659365b6652d3f0905946e187cadfedea 100644
|
| --- a/net/cert/x509_certificate.h
|
| +++ b/net/cert/x509_certificate.h
|
| @@ -425,6 +425,9 @@ class NET_EXPORT X509Certificate
|
| OSCertHandle leaf,
|
| const OSCertHandles& intermediates);
|
|
|
| + // Returns true if the certificate is self-signed.
|
| + static bool IsSelfSigned(OSCertHandle cert_handle);
|
| +
|
| private:
|
| friend class base::RefCountedThreadSafe<X509Certificate>;
|
| friend class TestRootCerts; // For unit tests
|
|
|