set trust bits for CA certs

This commit is contained in:
deepak1556 2016-04-18 21:05:33 +05:30
parent e81cec4058
commit 1240c83e40
5 changed files with 55 additions and 61 deletions

View file

@ -44,8 +44,11 @@ class CertificateManagerModel {
// |data|, using the given |password|. If |is_extractable| is false,
// mark the private key as unextractable from the module.
// Returns a net error code on failure.
int ImportFromPKCS12(net::CryptoModule* module, const std::string& data,
const base::string16& password, bool is_extractable);
int ImportFromPKCS12(net::CryptoModule* module,
const std::string& data,
const base::string16& password,
bool is_extractable,
net::CertificateList* imported_certs);
// Import user certificate from DER encoded |data|.
// Returns a net error code on failure.