Home
last modified time | relevance | path

Searched refs:keystore2 (Results 1 – 25 of 230) sorted by relevance

12345678910

/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/3/android/system/keystore2/
DIKeystoreSecurityLevel.aidl34 package android.system.keystore2;
38 …android.system.keystore2.CreateOperationResponse createOperation(in android.system.keystore2.KeyDe… in createOperation()
39 …android.system.keystore2.KeyMetadata generateKey(in android.system.keystore2.KeyDescriptor key, in… in generateKey()
40 …android.system.keystore2.KeyMetadata importKey(in android.system.keystore2.KeyDescriptor key, in @… in importKey()
41keystore2.KeyMetadata importWrappedKey(in android.system.keystore2.KeyDescriptor key, in android.s… in importWrappedKey()
42 …android.system.keystore2.EphemeralStorageKeyResponse convertStorageKeyToEphemeral(in android.syste… in convertStorageKeyToEphemeral()
43 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
DIKeystoreService.aidl34 package android.system.keystore2;
38 …android.system.keystore2.IKeystoreSecurityLevel getSecurityLevel(in android.hardware.security.keym… in getSecurityLevel()
39 …android.system.keystore2.KeyEntryResponse getKeyEntry(in android.system.keystore2.KeyDescriptor ke… in getKeyEntry()
40 …void updateSubcomponent(in android.system.keystore2.KeyDescriptor key, in @nullable byte[] publicC… in updateSubcomponent()
44 …android.system.keystore2.KeyDescriptor[] listEntries(in android.system.keystore2.Domain domain, in… in listEntries()
45 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
46 …android.system.keystore2.KeyDescriptor grant(in android.system.keystore2.KeyDescriptor key, in int… in grant()
47 void ungrant(in android.system.keystore2.KeyDescriptor key, in int granteeUid); in ungrant()
48 int getNumberOfEntries(in android.system.keystore2.Domain domain, in long nspace); in getNumberOfEntries()
49 …android.system.keystore2.KeyDescriptor[] listEntriesBatched(in android.system.keystore2.Domain dom… in listEntriesBatched()
DCreateOperationResponse.aidl34 package android.system.keystore2;
38 android.system.keystore2.IKeystoreOperation iOperation;
39 @nullable android.system.keystore2.OperationChallenge operationChallenge;
40 @nullable android.system.keystore2.KeyParameters parameters;
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/2/android/system/keystore2/
DIKeystoreSecurityLevel.aidl34 package android.system.keystore2;
38 …android.system.keystore2.CreateOperationResponse createOperation(in android.system.keystore2.KeyDe… in createOperation()
39 …android.system.keystore2.KeyMetadata generateKey(in android.system.keystore2.KeyDescriptor key, in… in generateKey()
40 …android.system.keystore2.KeyMetadata importKey(in android.system.keystore2.KeyDescriptor key, in @… in importKey()
41keystore2.KeyMetadata importWrappedKey(in android.system.keystore2.KeyDescriptor key, in android.s… in importWrappedKey()
42 …android.system.keystore2.EphemeralStorageKeyResponse convertStorageKeyToEphemeral(in android.syste… in convertStorageKeyToEphemeral()
43 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
DIKeystoreService.aidl34 package android.system.keystore2;
38 …android.system.keystore2.IKeystoreSecurityLevel getSecurityLevel(in android.hardware.security.keym… in getSecurityLevel()
39 …android.system.keystore2.KeyEntryResponse getKeyEntry(in android.system.keystore2.KeyDescriptor ke… in getKeyEntry()
40 …void updateSubcomponent(in android.system.keystore2.KeyDescriptor key, in @nullable byte[] publicC… in updateSubcomponent()
41 …android.system.keystore2.KeyDescriptor[] listEntries(in android.system.keystore2.Domain domain, in… in listEntries()
42 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
43 …android.system.keystore2.KeyDescriptor grant(in android.system.keystore2.KeyDescriptor key, in int… in grant()
44 void ungrant(in android.system.keystore2.KeyDescriptor key, in int granteeUid); in ungrant()
DCreateOperationResponse.aidl34 package android.system.keystore2;
38 android.system.keystore2.IKeystoreOperation iOperation;
39 @nullable android.system.keystore2.OperationChallenge operationChallenge;
40 @nullable android.system.keystore2.KeyParameters parameters;
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/
DIKeystoreSecurityLevel.aidl34 package android.system.keystore2;
38 …android.system.keystore2.CreateOperationResponse createOperation(in android.system.keystore2.KeyDe… in createOperation()
39 …android.system.keystore2.KeyMetadata generateKey(in android.system.keystore2.KeyDescriptor key, in… in generateKey()
40 …android.system.keystore2.KeyMetadata importKey(in android.system.keystore2.KeyDescriptor key, in @… in importKey()
41keystore2.KeyMetadata importWrappedKey(in android.system.keystore2.KeyDescriptor key, in android.s… in importWrappedKey()
42 …android.system.keystore2.EphemeralStorageKeyResponse convertStorageKeyToEphemeral(in android.syste… in convertStorageKeyToEphemeral()
43 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
DIKeystoreService.aidl34 package android.system.keystore2;
38 …android.system.keystore2.IKeystoreSecurityLevel getSecurityLevel(in android.hardware.security.keym… in getSecurityLevel()
39 …android.system.keystore2.KeyEntryResponse getKeyEntry(in android.system.keystore2.KeyDescriptor ke… in getKeyEntry()
40 …void updateSubcomponent(in android.system.keystore2.KeyDescriptor key, in @nullable byte[] publicC… in updateSubcomponent()
44 …android.system.keystore2.KeyDescriptor[] listEntries(in android.system.keystore2.Domain domain, in… in listEntries()
45 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
46 …android.system.keystore2.KeyDescriptor grant(in android.system.keystore2.KeyDescriptor key, in int… in grant()
47 void ungrant(in android.system.keystore2.KeyDescriptor key, in int granteeUid); in ungrant()
48 int getNumberOfEntries(in android.system.keystore2.Domain domain, in long nspace); in getNumberOfEntries()
49 …android.system.keystore2.KeyDescriptor[] listEntriesBatched(in android.system.keystore2.Domain dom… in listEntriesBatched()
DCreateOperationResponse.aidl34 package android.system.keystore2;
38 android.system.keystore2.IKeystoreOperation iOperation;
39 @nullable android.system.keystore2.OperationChallenge operationChallenge;
40 @nullable android.system.keystore2.KeyParameters parameters;
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/1/android/system/keystore2/
DIKeystoreSecurityLevel.aidl34 package android.system.keystore2;
38 …android.system.keystore2.CreateOperationResponse createOperation(in android.system.keystore2.KeyDe… in createOperation()
39 …android.system.keystore2.KeyMetadata generateKey(in android.system.keystore2.KeyDescriptor key, in… in generateKey()
40 …android.system.keystore2.KeyMetadata importKey(in android.system.keystore2.KeyDescriptor key, in @… in importKey()
41keystore2.KeyMetadata importWrappedKey(in android.system.keystore2.KeyDescriptor key, in android.s… in importWrappedKey()
42 …android.system.keystore2.EphemeralStorageKeyResponse convertStorageKeyToEphemeral(in android.syste… in convertStorageKeyToEphemeral()
43 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
DIKeystoreService.aidl34 package android.system.keystore2;
38 …android.system.keystore2.IKeystoreSecurityLevel getSecurityLevel(in android.hardware.security.keym… in getSecurityLevel()
39 …android.system.keystore2.KeyEntryResponse getKeyEntry(in android.system.keystore2.KeyDescriptor ke… in getKeyEntry()
40 …void updateSubcomponent(in android.system.keystore2.KeyDescriptor key, in @nullable byte[] publicC… in updateSubcomponent()
41 …android.system.keystore2.KeyDescriptor[] listEntries(in android.system.keystore2.Domain domain, in… in listEntries()
42 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
43 …android.system.keystore2.KeyDescriptor grant(in android.system.keystore2.KeyDescriptor key, in int… in grant()
44 void ungrant(in android.system.keystore2.KeyDescriptor key, in int granteeUid); in ungrant()
DCreateOperationResponse.aidl34 package android.system.keystore2;
38 android.system.keystore2.IKeystoreOperation iOperation;
39 @nullable android.system.keystore2.OperationChallenge operationChallenge;
40 @nullable android.system.keystore2.KeyParameters parameters;
/system/security/keystore2/tests/
Dkeystore2_client_list_entries_tests.rs21 use android_system_keystore2::aidl::android::system::keystore2::{
31 keystore2: &binder::Strong<dyn IKeystoreService>, in key_alias_exists()
36 let key_descriptors = keystore2.listEntries(domain, nspace).unwrap(); in key_alias_exists()
65 let keystore2 = get_keystore_service(); in keystore2_list_entries_success() localVariable
66 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_list_entries_success()
73 &keystore2, in keystore2_list_entries_success()
78 keystore2 in keystore2_list_entries_success()
101 &keystore2, in keystore2_list_entries_success()
109 keystore2 in keystore2_list_entries_success()
122 let keystore2 = get_keystore_service(); in keystore2_list_entries_success() localVariable
[all …]
Dkeystore2_client_grant_key_tests.rs21 use android_system_keystore2::aidl::android::system::keystore2::{
40 let keystore2 = get_keystore_service(); in generate_ec_key_and_grant_to_user() localVariable
41 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in generate_ec_key_and_grant_to_user()
53 keystore2.grant(&key_metadata.key, grantee_uid, access_vector) in generate_ec_key_and_grant_to_user()
57 keystore2: &binder::Strong<dyn IKeystoreService>, in load_grant_key_and_perform_sign_operation()
61 let key_entry_response = keystore2.getKeyEntry(&KeyDescriptor { in load_grant_key_and_perform_sign_operation()
141 let keystore2 = get_keystore_service(); in keystore2_grant_key_with_perm_none() localVariable
143 let result = key_generations::map_ks_error(keystore2.getKeyEntry(&KeyDescriptor { in keystore2_grant_key_with_perm_none()
194 let keystore2 = get_keystore_service(); in keystore2_grant_get_info_use_key_perm() localVariable
196 keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_grant_get_info_use_key_perm()
[all …]
Dkeystore2_client_update_subcomponent_tests.rs21 use android_system_keystore2::aidl::android::system::keystore2::{
34 let keystore2 = get_keystore_service(); in keystore2_update_subcomponent_success() localVariable
35 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_update_subcomponent_success()
49 keystore2 in keystore2_update_subcomponent_success()
53 let key_entry_response = keystore2.getKeyEntry(&key_metadata.key).unwrap(); in keystore2_update_subcomponent_success()
64 let keystore2 = get_keystore_service(); in keystore2_update_subcomponent_fail() localVariable
69 let result = key_generations::map_ks_error(keystore2.updateSubcomponent( in keystore2_update_subcomponent_fail()
88 let keystore2 = get_keystore_service(); in keystore2_update_subcomponent_no_key_entry_cert_fail() localVariable
91 let result = key_generations::map_ks_error(keystore2.updateSubcomponent( in keystore2_update_subcomponent_no_key_entry_cert_fail()
110 let keystore2 = get_keystore_service(); in keystore2_update_subcomponent_no_key_entry_cert_chain_success() localVariable
[all …]
Dkeystore2_client_delete_key_tests.rs20 use android_system_keystore2::aidl::android::system::keystore2::{
30 let keystore2 = get_keystore_service(); in keystore2_delete_key_success() localVariable
31 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_delete_key_success()
43 keystore2.deleteKey(&key_metadata.key).expect("Failed to delete a key."); in keystore2_delete_key_success()
46 let result = key_generations::map_ks_error(keystore2.getKeyEntry(&key_metadata.key)); in keystore2_delete_key_success()
56 let keystore2 = get_keystore_service(); in keystore2_delete_key_fail() localVariable
58 let result = key_generations::map_ks_error(keystore2.deleteKey(&KeyDescriptor { in keystore2_delete_key_fail()
73 let keystore2 = get_keystore_service(); in keystore2_delete_key_with_blob_domain_fail() localVariable
74 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_delete_key_with_blob_domain_fail()
86 let result = key_generations::map_ks_error(keystore2.deleteKey(&key_metadata.key)); in keystore2_delete_key_with_blob_domain_fail()
[all …]
Dkeystore2_client_aes_key_tests.rs20 use android_system_keystore2::aidl::android::system::keystore2::{
86 let keystore2 = get_keystore_service(); in keystore2_aes_ecb_cbc_generate_key() localVariable
91 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_ecb_cbc_generate_key()
118 let keystore2 = get_keystore_service(); in keystore2_aes_ctr_gcm_generate_key_success() localVariable
122 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_ctr_gcm_generate_key_success()
148 let keystore2 = get_keystore_service(); in keystore2_aes_ctr_gcm_generate_key_fails_incompatible() localVariable
152 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_ctr_gcm_generate_key_fails_incompatible()
176 let keystore2 = get_keystore_service(); in keystore2_aes_key_fails_unsupported_key_size() localVariable
177 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_key_fails_unsupported_key_size()
197 let keystore2 = get_keystore_service(); in keystore2_aes_gcm_key_fails_missing_min_mac_len() localVariable
[all …]
Dkeystore2_client_hmac_key_tests.rs19 use android_system_keystore2::aidl::android::system::keystore2::{
72 let keystore2 = get_keystore_service(); in keystore2_hmac_key_op_success() localVariable
73 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_key_op_success()
99 let keystore2 = get_keystore_service(); in keystore2_hmac_gen_keys_fails_expect_unsupported_key_size() localVariable
100 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_gen_keys_fails_expect_unsupported_key_size()
131 let keystore2 = get_keystore_service(); in keystore2_hmac_gen_keys_fails_expect_unsupported_min_mac_length() localVariable
132 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_gen_keys_fails_expect_unsupported_min_mac_length()
162 let keystore2 = get_keystore_service(); in keystore2_hmac_gen_key_multi_digests_fails_expect_unsupported_digest() localVariable
163 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_gen_key_multi_digests_fails_expect_unsupported_digest()
196 let keystore2 = get_keystore_service(); in keystore2_hmac_gen_key_no_digests_fails_expect_unsupported_digest() localVariable
[all …]
Dkeystore2_client_import_keys_tests.rs25 use android_system_keystore2::aidl::android::system::keystore2::{
136 let keystore2 = get_keystore_service(); in keystore2_rsa_import_key_success() localVariable
137 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_import_key_success()
168 let keystore2 = get_keystore_service(); in keystore2_rsa_import_key_determine_key_size_and_pub_exponent() localVariable
169 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_import_key_determine_key_size_and_pub_exponent()
197 let keystore2 = get_keystore_service(); in keystore2_rsa_import_key_fails_with_keysize_param_mismatch_error() localVariable
198 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_import_key_fails_with_keysize_param_mismatch_error()
230 let keystore2 = get_keystore_service(); in keystore2_rsa_import_key_fails_with_public_exponent_param_mismatch_error() localVariable
231 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_import_key_fails_with_public_exponent_param_mismatch_error()
264 let keystore2 = get_keystore_service(); in keystore2_rsa_import_key_with_multipurpose_fails_incompt_purpose_error() localVariable
[all …]
Dkeystore2_client_3des_key_tests.rs20 use android_system_keystore2::aidl::android::system::keystore2::{
83 let keystore2 = get_keystore_service(); in keystore2_3des_ecb_cbc_generate_key_success() localVariable
87 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_3des_ecb_cbc_generate_key_success()
102 let keystore2 = get_keystore_service(); in keystore2_3des_key_fails_unsupported_key_size() localVariable
103 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_3des_key_fails_unsupported_key_size()
125 let keystore2 = get_keystore_service(); in keystore2_3des_key_fails_missing_padding() localVariable
126 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_3des_key_fails_missing_padding()
169 let keystore2 = get_keystore_service(); in keystore2_3des_key_encrypt_fails_invalid_input_length() localVariable
170 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_3des_key_encrypt_fails_invalid_input_length()
207 let keystore2 = get_keystore_service(); in keystore2_3des_key_fails_unsupported_block_mode() localVariable
[all …]
/system/hardware/interfaces/keystore2/aidl/android/system/keystore2/
DIKeystoreSecurityLevel.aidl17 package android.system.keystore2;
20 import android.system.keystore2.AuthenticatorSpec;
21 import android.system.keystore2.CreateOperationResponse;
22 import android.system.keystore2.EphemeralStorageKeyResponse;
23 import android.system.keystore2.IKeystoreOperation;
24 import android.system.keystore2.KeyDescriptor;
25 import android.system.keystore2.KeyMetadata;
DCreateOperationResponse.aidl17 package android.system.keystore2;
19 import android.system.keystore2.IKeystoreOperation;
20 import android.system.keystore2.KeyParameters;
21 import android.system.keystore2.OperationChallenge;
DKeyMetadata.aidl17 package android.system.keystore2;
20 import android.system.keystore2.Authorization;
21 import android.system.keystore2.IKeystoreSecurityLevel;
22 import android.system.keystore2.KeyDescriptor;
DIKeystoreService.aidl17 package android.system.keystore2;
20 import android.system.keystore2.Domain;
21 import android.system.keystore2.IKeystoreSecurityLevel;
22 import android.system.keystore2.KeyDescriptor;
23 import android.system.keystore2.KeyEntryResponse;
/system/security/keystore2/src/
Dkeystore2_main.rs17 use keystore2::entropy;
18 use keystore2::globals::ENFORCEMENTS;
19 use keystore2::maintenance::Maintenance;
20 use keystore2::metrics::Metrics;
21 use keystore2::metrics_store;
22 use keystore2::service::KeystoreService;
23 use keystore2::{apc::ApcManager, shared_secret_negotiation};
24 use keystore2::{authorization::AuthorizationManager, id_rotation::IdRotationState};
83 *keystore2::globals::DB_PATH.write().expect("Could not lock DB_PATH.") = in main()
124 &keystore2::globals::DB_PATH.read().expect("Could not get DB_PATH."), in main()

12345678910