| Index: net/cert/x509_certificate.h
|
| diff --git a/net/cert/x509_certificate.h b/net/cert/x509_certificate.h
|
| index 97906ed0461f02c4d8705e2e3db8109484f21f1b..7b4ecbb03109ea8df0ea15be5d78876ae25c83db 100644
|
| --- a/net/cert/x509_certificate.h
|
| +++ b/net/cert/x509_certificate.h
|
| @@ -421,6 +421,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
|
|
|