summaryrefslogtreecommitdiffstats
path: root/net/base/cert_database.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/cert_database.h')
-rw-r--r--net/base/cert_database.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/base/cert_database.h b/net/base/cert_database.h
index 9570d15..dab72eb 100644
--- a/net/base/cert_database.h
+++ b/net/base/cert_database.h
@@ -69,6 +69,10 @@ class CertDatabase {
int AddUserCert(X509Certificate* cert);
#if defined(USE_NSS)
+ // Get a list of unique certificates in the certificate database. (One
+ // instance of all certificates.)
+ void ListCerts(CertificateList* certs);
+
// Import certificates and private keys from PKCS #12 blob.
// Returns OK or a network error code such as ERR_PKCS12_IMPORT_BAD_PASSWORD
// or ERR_PKCS12_IMPORT_ERROR.