Home
last modified time | relevance | path

Searched refs:keystore (Results 1 – 25 of 162) sorted by relevance

1234567

/external/tpm2-tss/src/tss2-fapi/
Difapi_keystore.c141 IFAPI_KEYSTORE *keystore, in get_explicit_key_path() argument
147 TSS2_RC r = initialize_explicit_key_path(keystore->defaultprofile, ipath, in get_explicit_key_path()
179 full_path_to_fapi_path(IFAPI_KEYSTORE *keystore, char *path) in full_path_to_fapi_path() argument
183 size_t keystore_length = strlen(keystore->userdir); in full_path_to_fapi_path()
189 if (strncmp(&path[0], keystore->userdir, keystore_length) == 0) { in full_path_to_fapi_path()
190 start_pos = strlen(keystore->userdir); in full_path_to_fapi_path()
192 keystore_length = strlen(keystore->systemdir); in full_path_to_fapi_path()
193 if (strncmp(&path[0], keystore->systemdir, keystore_length) == 0) in full_path_to_fapi_path()
194 start_pos = strlen(keystore->systemdir); in full_path_to_fapi_path()
247 expand_path(IFAPI_KEYSTORE *keystore, const char *path, char **file_name) in expand_path() argument
[all …]
Difapi_keystore.h152 IFAPI_KEYSTORE *keystore,
159 IFAPI_KEYSTORE *keystore,
165 IFAPI_KEYSTORE *keystore,
171 IFAPI_KEYSTORE *keystore,
178 IFAPI_KEYSTORE *keystore,
183 IFAPI_KEYSTORE *keystore,
190 IFAPI_KEYSTORE *keystore,
195 IFAPI_KEYSTORE *keystore,
200 IFAPI_KEYSTORE *keystore,
207 IFAPI_KEYSTORE *keystore,
[all …]
Difapi_policy_callbacks.c96 r = ifapi_keystore_load_async(&context->keystore, &context->io, path); in ifapi_get_key_public()
102 r = ifapi_keystore_load_finish(&context->keystore, &context->io, in ifapi_get_key_public()
166 r = ifapi_keystore_load_async(&context->keystore, &context->io, path); in ifapi_get_object_name()
172 r = ifapi_keystore_load_finish(&context->keystore, &context->io, in ifapi_get_object_name()
241 r = ifapi_keystore_load_async(&context->keystore, &context->io, path); in ifapi_get_nv_public()
247 r = ifapi_keystore_load_finish(&context->keystore, &context->io, in ifapi_get_nv_public()
460 r = ifapi_keystore_search_obj(&fapi_ctx->keystore, &fapi_ctx->io, in ifapi_policyeval_cbauth()
465 r = ifapi_keystore_load_async(&fapi_ctx->keystore, &fapi_ctx->io, in ifapi_policyeval_cbauth()
473 r = ifapi_keystore_load_finish(&fapi_ctx->keystore, &fapi_ctx->io, in ifapi_policyeval_cbauth()
799 … r = ifapi_keystore_list_all(&context->keystore, IFAPI_POLICY_DIR, &context->fsearch.pathlist, in search_policy()
[all …]
/external/python/bumble/apps/
Dunbond.py34 keystore = JsonKeyStore(None, keystore_file)
36 keystore = device.keystore
38 if keystore is None:
43 await keystore.print()
46 await keystore.delete(address)
Dscan.py137 keystore = JsonKeyStore(namespace=None, filename=keystore_file)
138 device.keystore = keystore
142 if device.keystore:
143 resolving_keys = await device.keystore.get_resolving_keys()
/external/wycheproof/
DAndroid.bp55 name: "wycheproof-keystore",
57 "//cts/tests/tests/keystore",
60 "keystore-cts/java/**/*.java",
61 "keystore-cts/android/**/*.java",
63 java_resource_dirs: ["keystore-cts/testvectors"],
70 "cts-keystore-test-util",
78 "//cts/tests/tests/keystore",
81 jars: ["keystore-cts/libs/gson-2.9.0.jar"],
/external/conscrypt/common/src/main/java/org/conscrypt/
DDefaultSSLContextImpl.java67 String keystore = System.getProperty("javax.net.ssl.keyStore"); in getKeyManagers() local
68 if (keystore == null) { in getKeyManagers()
77 is = new BufferedInputStream(new FileInputStream(keystore)); in getKeyManagers()
99 String keystore = System.getProperty("javax.net.ssl.trustStore"); in getTrustManagers() local
100 if (keystore == null) { in getTrustManagers()
110 is = new BufferedInputStream(new FileInputStream(keystore)); in getTrustManagers()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DDefaultSSLContextImpl.java68 String keystore = System.getProperty("javax.net.ssl.keyStore"); in getKeyManagers() local
69 if (keystore == null) { in getKeyManagers()
78 is = new BufferedInputStream(new FileInputStream(keystore)); in getKeyManagers()
100 String keystore = System.getProperty("javax.net.ssl.trustStore"); in getTrustManagers() local
101 if (keystore == null) { in getTrustManagers()
111 is = new BufferedInputStream(new FileInputStream(keystore)); in getTrustManagers()
/external/tpm2-tss/src/tss2-fapi/api/
DFapi_SetDescription.c141 r = ifapi_keystore_load_async(&context->keystore, &context->io, path); in Fapi_SetDescription_Async()
201 r = ifapi_keystore_load_finish(&context->keystore, &context->io, object); in Fapi_SetDescription_Finish()
209 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_SetDescription_Finish()
217 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_SetDescription_Finish()
DFapi_SetAppData.c162 r = ifapi_keystore_load_async(&context->keystore, &context->io, path); in Fapi_SetAppData_Async()
216 r = ifapi_keystore_load_finish(&context->keystore, &context->io, object); in Fapi_SetAppData_Finish()
240 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_SetAppData_Finish()
249 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_SetAppData_Finish()
DFapi_SetCertificate.c152 r = ifapi_keystore_load_async(&context->keystore, &context->io, path); in Fapi_SetCertificate_Async()
205 r = ifapi_keystore_load_finish(&context->keystore, &context->io, key_object); in Fapi_SetCertificate_Finish()
228 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_SetCertificate_Finish()
238 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_SetCertificate_Finish()
DFapi_NvIncrement.c168 r = ifapi_keystore_load_async(&context->keystore, &context->io, command->nvPath); in Fapi_NvIncrement_Async()
235 r = ifapi_keystore_check_writeable(&context->keystore, &context->io, command->nvPath); in Fapi_NvIncrement_Finish()
238 r = ifapi_keystore_load_finish(&context->keystore, &context->io, object); in Fapi_NvIncrement_Finish()
311 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_NvIncrement_Finish()
321 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_NvIncrement_Finish()
DFapi_WriteAuthorizeNV.c165 r = ifapi_keystore_load_async(&context->keystore, &context->io, nvCmd->nvPath); in Fapi_WriteAuthorizeNv_Async()
228 r = ifapi_keystore_check_writeable(&context->keystore, &context->io, in Fapi_WriteAuthorizeNv_Finish()
233 r = ifapi_keystore_load_finish(&context->keystore, &context->io, object); in Fapi_WriteAuthorizeNv_Finish()
288 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_WriteAuthorizeNv_Finish()
297 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_WriteAuthorizeNv_Finish()
DFapi_NvSetBits.c176 r = ifapi_keystore_load_async(&context->keystore, &context->io, command->nvPath); in Fapi_NvSetBits_Async()
243 r = ifapi_keystore_check_writeable(&context->keystore, &context->io, command->nvPath); in Fapi_NvSetBits_Finish()
246 r = ifapi_keystore_load_finish(&context->keystore, &context->io, object); in Fapi_NvSetBits_Finish()
321 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_NvSetBits_Finish()
330 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_NvSetBits_Finish()
DFapi_ChangeAuth.c282 r = ifapi_keystore_load_async(&context->keystore, &context->io, in Fapi_ChangeAuth_Finish()
300 r = ifapi_keystore_load_async(&context->keystore, &context->io, in Fapi_ChangeAuth_Finish()
404 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_ChangeAuth_Finish()
413 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_ChangeAuth_Finish()
432 r = ifapi_keystore_load_finish(&context->keystore, &context->io, in Fapi_ChangeAuth_Finish()
483 r = ifapi_keystore_load_finish(&context->keystore, &context->io, object); in Fapi_ChangeAuth_Finish()
DFapi_CreateNv.c190 r = ifapi_keystore_check_overwrite(&context->keystore, &context->io, in Fapi_CreateNv_Async()
305 r = ifapi_keystore_load_async(&context->keystore, &context->io, "HS"); in Fapi_CreateNv_Finish()
310 r = ifapi_keystore_load_finish(&context->keystore, &context->io, in Fapi_CreateNv_Finish()
431 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_CreateNv_Finish()
441 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_CreateNv_Finish()
DFapi_Delete.c147 r = ifapi_keystore_list_all(&context->keystore, path, &command->pathlist, in Fapi_Delete_Async()
288 r = ifapi_keystore_load_async(&context->keystore, &context->io, path); in Fapi_Delete_Finish()
296 r = ifapi_keystore_load_finish(&context->keystore, &context->io, object); in Fapi_Delete_Finish()
445 r = ifapi_keystore_delete(&context->keystore, path); in Fapi_Delete_Finish()
458 r = ifapi_keystore_remove_directories(&context->keystore, command->path); in Fapi_Delete_Finish()
DFapi_NvWrite.c253 r = ifapi_keystore_check_writeable(&context->keystore, &context->io, command->nvPath); in Fapi_NvWrite_Finish()
269 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_NvWrite_Finish()
279 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_NvWrite_Finish()
DFapi_Provision.c358 r = ifapi_keystore_store_async(&context->keystore, &context->io, "HS/SRK", in Fapi_Provision_Finish()
366 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_Provision_Finish()
659 r = ifapi_keystore_store_async(&context->keystore, &context->io, "HE/EK", in Fapi_Provision_Finish()
667 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_Provision_Finish()
740 r = ifapi_keystore_store_async(&context->keystore, &context->io, "/LOCKOUT", in Fapi_Provision_Finish()
750 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_Provision_Finish()
802 r = ifapi_keystore_store_async(&context->keystore, &context->io, "/HE", in Fapi_Provision_Finish()
811 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_Provision_Finish()
864 r = ifapi_keystore_store_async(&context->keystore, &context->io, "/HS", in Fapi_Provision_Finish()
872 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_Provision_Finish()
DFapi_Import.c249 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_Import_Async()
346 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_Import_Finish()
354 r = ifapi_keystore_search_obj(&context->keystore, &context->io, in Fapi_Import_Finish()
426 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_Import_Finish()
437 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_Import_Finish()
DFapi_NvExtend.c201 r = ifapi_keystore_load_async(&context->keystore, &context->io, command->nvPath); in Fapi_NvExtend_Async()
276 r = ifapi_keystore_check_writeable(&context->keystore, &context->io, command->nvPath); in Fapi_NvExtend_Finish()
279 r = ifapi_keystore_load_finish(&context->keystore, &context->io, object); in Fapi_NvExtend_Finish()
431 r = ifapi_keystore_store_async(&context->keystore, &context->io, in Fapi_NvExtend_Finish()
442 r = ifapi_keystore_store_finish(&context->keystore, &context->io); in Fapi_NvExtend_Finish()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DCertInstallerHelper.java85 java.security.KeyStore keystore = null; in extractCertificate() local
92 keystore = java.security.KeyStore.getInstance("PKCS12"); in extractCertificate()
94 keystore.load(new ByteArrayInputStream(raw), passwordProtection.getPassword()); in extractCertificate()
97 Enumeration<String> aliases = keystore.aliases(); in extractCertificate()
106 java.security.KeyStore.Entry entry = keystore.getEntry(alias, passwordProtection); in extractCertificate()
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/
DSampleServer.java121 KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType()); in sslContext() local
124 keystore.load(in, password.toCharArray()); in sslContext()
130 keyManagerFactory.init(keystore, password.toCharArray()); in sslContext()
134 trustManagerFactory.init(keystore); in sslContext()
/external/tpm2-tss/dist/
Dfapi-config.json.in4 "user_dir": "~/@userstatedir@/tpm2-tss/user/keystore",
5 "system_dir": "@localstatedir@/lib/tpm2-tss/system/keystore",
/external/vulkan-validation-layers/build-android/
Dbuild_all.sh55 …jarsigner -verbose -keystore ~/.android/debug.keystore -storepass android -keypass android bin/$1…

1234567