diff options
Diffstat (limited to 'net/base/x509_certificate.h')
-rw-r--r-- | net/base/x509_certificate.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h index 1e2419e..4ae6554 100644 --- a/net/base/x509_certificate.h +++ b/net/base/x509_certificate.h @@ -209,6 +209,12 @@ class X509Certificate : public base::RefCountedThreadSafe<X509Certificate> { // now. bool HasExpired() const; +#if defined(OS_MACOSX) + // Adds an untrusted intermediate certificate that may be needed for + // chain building. + void AddIntermediateCertificate(SecCertificateRef cert); +#endif + // Verifies the certificate against the given hostname. Returns OK if // successful or an error code upon failure. // @@ -299,6 +305,12 @@ class X509Certificate : public base::RefCountedThreadSafe<X509Certificate> { // A handle to the certificate object in the underlying crypto library. OSCertHandle cert_handle_; +#if defined(OS_MACOSX) + // Untrusted intermediate certificates associated with this certificate + // that may be needed for chain building. + CFMutableArrayRef intermediate_ca_certs_; +#endif + // Where the certificate comes from. Source source_; |