| Index: net/cert/nss_cert_database.h
|
| diff --git a/net/cert/nss_cert_database.h b/net/cert/nss_cert_database.h
|
| index 42447f95a733b1b7efed148d9cf5769f3f56be0d..f67a4a346017cc0dae92974a0b01e73a11caeef6 100644
|
| --- a/net/cert/nss_cert_database.h
|
| +++ b/net/cert/nss_cert_database.h
|
| @@ -192,6 +192,11 @@ class NET_EXPORT NSSCertDatabase {
|
| // TODO(mattm): improve this to handle any order.
|
| X509Certificate* FindRootInList(const CertificateList& certificates) const;
|
|
|
| + // Import a user certificate. The private key for the user certificate must
|
| + // already be installed, otherwise we return ERR_NO_PRIVATE_KEY_FOR_CERT.
|
| + // Returns OK or a network error code.
|
| + int ImportUserCert(const std::string& data);
|
| +
|
| // Import CA certificates.
|
| // Tries to import all the certificates given. The root will be trusted
|
| // according to |trust_bits|. Any certificates that could not be imported
|
|
|