Searched defs:key_file (Results 1 - 8 of 8) sorted by relevance

/external/chromium/chrome/browser/extensions/
H A Dpack_extension_job.cc18 const FilePath& key_file)
19 : client_(client), key_file_(key_file), asynchronous_(true) {
85 const FilePath& key_file) {
87 string16 key_file_string = key_file.LossyDisplayName();
16 PackExtensionJob(Client* client, const FilePath& root_directory, const FilePath& key_file) argument
84 StandardSuccessMessage(const FilePath& crx_file, const FilePath& key_file) argument
H A Dextensions_ui.cc527 FilePath key_file = FilePath::FromWStringHack(UTF8ToWide(private_key_path)); local
541 if (!private_key_path.empty() && key_file.empty()) {
547 pack_job_ = new PackExtensionJob(this, root_directory, key_file);
/external/chromium/chrome/browser/chromeos/login/
H A Downer_key_utils.cc42 bool ImportPublicKey(const FilePath& key_file,
61 const FilePath& key_file);
87 const FilePath& key_file) {
104 file_util::WriteFile(key_file,
111 bool OwnerKeyUtilsImpl::ImportPublicKey(const FilePath& key_file, argument
115 if (!file_util::GetFileSize(key_file, &file_size)) {
116 LOG(ERROR) << "Could not get size of " << key_file.value();
120 LOG(ERROR) << key_file.value() << "is "
128 int data_read = file_util::ReadFile(key_file,
86 ExportPublicKeyToFile(crypto::RSAPrivateKey* pair, const FilePath& key_file) argument
/external/chromium/net/test/
H A Dopenssl_helper.cc61 const char* key_file = kDefaultPEMFile; local
101 key_file = argv[i];
130 if (BIO_read_filename(key, key_file) <= 0) {
131 fprintf(stderr, "Failed to read %s\n", key_file);
137 fprintf(stderr, "Failed to parse %s\n", key_file);
162 fprintf(stderr, "Failed to load %s\n", key_file);
/external/openssl/apps/
H A Ds_cb.c198 int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file) argument
214 if (key_file == NULL) key_file=cert_file;
215 if (SSL_CTX_use_PrivateKey_file(ctx,key_file,
218 BIO_printf(bio_err,"unable to get private key from '%s'\n",key_file);
H A Ds_client.c570 char *cert_file=NULL,*key_file=NULL; local
845 key_file= *(++argv);
1041 if (key_file == NULL)
1042 key_file = cert_file;
1045 if (key_file)
1049 key = load_key(bio_err, key_file, key_format, 0, pass, e,
/external/chromium/chrome/browser/ui/webui/options/
H A Dextension_settings_handler.cc620 FilePath key_file = FilePath::FromWStringHack(UTF8ToWide(private_key_path)); local
634 if (!private_key_path.empty() && key_file.empty()) {
640 pack_job_ = new PackExtensionJob(this, root_directory, key_file);
/external/chromium/net/disk_cache/
H A Dentry_impl.cc425 File* key_file = GetBackingFile(address, kKeyFileIndex); local
432 if (!key_file || !key_file->Write(key.data(), key.size(), offset)) {
438 key_file->SetLength(key.size() + 1);
763 File* key_file = const_cast<EntryImpl*>(this)->GetBackingFile(address, local
766 if (!offset && key_file->GetLength() != static_cast<size_t>(key_len + 1))
769 if (!key_file ||
770 !key_file->Read(WriteInto(&key_, key_len + 1), key_len + 1, offset))

Completed in 127 milliseconds