| Index: net/cert/nss_cert_database.h
|
| diff --git a/net/cert/nss_cert_database.h b/net/cert/nss_cert_database.h
|
| index 94f1f20fb9c41d0648975b53da41f21a9ab189ea..d2e8f88c96b1b4e50332754d0afda16526403400 100644
|
| --- a/net/cert/nss_cert_database.h
|
| +++ b/net/cert/nss_cert_database.h
|
| @@ -132,6 +132,12 @@ class NET_EXPORT NSSCertDatabase {
|
| // TODO(mattm): come up with better alternative to CryptoModuleList.
|
| virtual void ListModules(CryptoModuleList* modules, bool need_rw) const;
|
|
|
| + // The binary blob |pkcs8_data| is expected to be a DER-encoded ASN.1 PKCS#8
|
| + // private key info object.
|
| + bool ImportPKCS8KeyAndCertificate(const std::string& pkcs8_data,
|
| + X509Certificate* cert,
|
| + CryptoModule* module);
|
| +
|
| // Import certificates and private keys from PKCS #12 blob into the module.
|
| // If |is_extractable| is false, mark the private key as being unextractable
|
| // from the module.
|
|
|