/system/hardware/interfaces/keystore2/aidl/android/system/keystore2/ |
D | IKeystoreSecurityLevel.aidl | 24 import android.system.keystore2.KeyDescriptor; 88 CreateOperationResponse createOperation(in KeyDescriptor key, in createOperation() 137 KeyMetadata generateKey(in KeyDescriptor key, in @nullable KeyDescriptor attestationKey, in generateKey() 151 KeyMetadata importKey(in KeyDescriptor key, in @nullable KeyDescriptor attestationKey, in importKey() 180 KeyMetadata importWrappedKey(in KeyDescriptor key, in KeyDescriptor wrappingKey, in importWrappedKey() 200 EphemeralStorageKeyResponse convertStorageKeyToEphemeral(in KeyDescriptor storageKey); in convertStorageKeyToEphemeral() 218 void deleteKey(in KeyDescriptor key); in deleteKey()
|
D | IKeystoreService.aidl | 22 import android.system.keystore2.KeyDescriptor; 83 KeyEntryResponse getKeyEntry(in KeyDescriptor key); in getKeyEntry() 108 void updateSubcomponent(in KeyDescriptor key, in @nullable byte[] publicCert, in updateSubcomponent() 134 KeyDescriptor[] listEntries(in Domain domain, in long nspace); in listEntries() 149 void deleteKey(in KeyDescriptor key); in deleteKey() 179 KeyDescriptor grant(in KeyDescriptor key, in int granteeUid, in int accessVector); in grant() 190 void ungrant(in KeyDescriptor key, in int granteeUid); in ungrant()
|
D | KeyMetadata.aidl | 22 import android.system.keystore2.KeyDescriptor; 38 KeyDescriptor key;
|
D | KeyDescriptor.aidl | 54 parcelable KeyDescriptor {
|
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/1/android/system/keystore2/ |
D | IKeystoreSecurityLevel.aidl | 38 …2.CreateOperationResponse createOperation(in android.system.keystore2.KeyDescriptor key, in androi… in createOperation() 39 … generateKey(in android.system.keystore2.KeyDescriptor key, in @nullable android.system.keystore2.… in generateKey() 40 …ta importKey(in android.system.keystore2.KeyDescriptor key, in @nullable android.system.keystore2.… in importKey() 41 … importWrappedKey(in android.system.keystore2.KeyDescriptor key, in android.system.keystore2.KeyDe… in importWrappedKey() 42 …rageKeyResponse convertStorageKeyToEphemeral(in android.system.keystore2.KeyDescriptor storageKey); in convertStorageKeyToEphemeral() 43 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
|
D | IKeystoreService.aidl | 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()
|
D | KeyDescriptor.aidl | 37 parcelable KeyDescriptor {
|
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/2/android/system/keystore2/ |
D | IKeystoreSecurityLevel.aidl | 38 …2.CreateOperationResponse createOperation(in android.system.keystore2.KeyDescriptor key, in androi… in createOperation() 39 … generateKey(in android.system.keystore2.KeyDescriptor key, in @nullable android.system.keystore2.… in generateKey() 40 …ta importKey(in android.system.keystore2.KeyDescriptor key, in @nullable android.system.keystore2.… in importKey() 41 … importWrappedKey(in android.system.keystore2.KeyDescriptor key, in android.system.keystore2.KeyDe… in importWrappedKey() 42 …rageKeyResponse convertStorageKeyToEphemeral(in android.system.keystore2.KeyDescriptor storageKey); in convertStorageKeyToEphemeral() 43 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
|
D | IKeystoreService.aidl | 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()
|
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/ |
D | IKeystoreSecurityLevel.aidl | 38 …2.CreateOperationResponse createOperation(in android.system.keystore2.KeyDescriptor key, in androi… in createOperation() 39 … generateKey(in android.system.keystore2.KeyDescriptor key, in @nullable android.system.keystore2.… in generateKey() 40 …ta importKey(in android.system.keystore2.KeyDescriptor key, in @nullable android.system.keystore2.… in importKey() 41 … importWrappedKey(in android.system.keystore2.KeyDescriptor key, in android.system.keystore2.KeyDe… in importWrappedKey() 42 …rageKeyResponse convertStorageKeyToEphemeral(in android.system.keystore2.KeyDescriptor storageKey); in convertStorageKeyToEphemeral() 43 void deleteKey(in android.system.keystore2.KeyDescriptor key); in deleteKey()
|
D | IKeystoreService.aidl | 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()
|
/system/security/keystore2/src/ |
D | audit_log.rs | 20 Domain::Domain, KeyDescriptor::KeyDescriptor, 45 pub fn log_key_generated(key: &KeyDescriptor, calling_app: uid_t, success: bool) { in log_key_generated() argument 50 pub fn log_key_imported(key: &KeyDescriptor, calling_app: uid_t, success: bool) { in log_key_imported() argument 55 pub fn log_key_deleted(key: &KeyDescriptor, calling_app: uid_t, success: bool) { in log_key_deleted() argument 60 pub fn log_key_integrity_violation(key: &KeyDescriptor) { in log_key_integrity_violation() argument 67 fn log_key_event(tag: u32, key: &KeyDescriptor, calling_app: uid_t, success: bool) { in log_key_event() argument
|
D | service.rs | 45 KeyDescriptor::KeyDescriptor, KeyEntryResponse::KeyEntryResponse, KeyMetadata::KeyMetadata, 131 fn get_key_entry(&self, key: &KeyDescriptor) -> Result<KeyEntryResponse> { in get_key_entry() 163 key: KeyDescriptor { in get_key_entry() 184 key: &KeyDescriptor, in update_subcomponent() argument 232 (Domain::APP, Some(ref alias)) => KeyDescriptor { in update_subcomponent() 261 fn list_entries(&self, domain: Domain, namespace: i64) -> Result<Vec<KeyDescriptor>> { in list_entries() argument 263 Domain::APP => KeyDescriptor { in list_entries() 268 Domain::SELINUX => KeyDescriptor{domain, nspace: namespace, ..Default::default()}, in list_entries() 296 fn delete_key(&self, key: &KeyDescriptor) -> Result<()> { in delete_key() 314 key: &KeyDescriptor, in grant() argument [all …]
|
D | attestation_key_utils.rs | 28 Domain::Domain, KeyDescriptor::KeyDescriptor, 54 key: &KeyDescriptor, in get_attest_key_info() argument 56 attest_key_descriptor: Option<&KeyDescriptor>, in get_attest_key_info() argument 89 key: &KeyDescriptor, in get_user_generated_attestation_key() argument 105 key: &KeyDescriptor, in load_attest_key_blob_and_cert() argument
|
D | security_level.rs | 57 IKeystoreSecurityLevel::IKeystoreSecurityLevel, KeyDescriptor::KeyDescriptor, 115 key: KeyDescriptor, in store_new_key() argument 153 Domain::BLOB => KeyDescriptor { in store_new_key() 159 .with::<_, Result<KeyDescriptor>>(|db| { in store_new_key() 191 Ok(KeyDescriptor { in store_new_key() 212 key: &KeyDescriptor, in create_operation() argument 403 key: &KeyDescriptor, in add_required_parameters() argument 508 key: &KeyDescriptor, in generate_key() argument 509 attest_key_descriptor: Option<&KeyDescriptor>, in generate_key() argument 521 Domain::APP => KeyDescriptor { in generate_key() [all …]
|
D | raw_device.rs | 35 Domain::Domain, KeyDescriptor::KeyDescriptor, ResponseCode::ResponseCode, 106 key_desc: &KeyDescriptor, in create_and_store_key() argument 139 pub fn internal_descriptor(alias: String) -> KeyDescriptor { in internal_descriptor() argument 140 KeyDescriptor { in internal_descriptor() 151 key_desc: &KeyDescriptor, in lookup_from_desc() argument 176 key_desc: &KeyDescriptor, in lookup_or_generate_key() argument
|
D | database.rs | 69 Domain::Domain, KeyDescriptor::KeyDescriptor, 1279 KeyDescriptor { domain, nspace, alias: Some(alias.to_string()), blob: None }; in key_exists() 1350 let key_descriptor = KeyDescriptor { in load_super_key() 2240 destination: &KeyDescriptor, in migrate_key_namespace() argument 2242 check_permission: impl Fn(&KeyDescriptor) -> Result<()>, in migrate_key_namespace() 2247 Domain::APP => KeyDescriptor { nspace: caller_uid as i64, ..(*destination).clone() }, in migrate_key_namespace() 2308 key: &KeyDescriptor, in store_new_key() argument 2319 KeyDescriptor { alias: Some(alias), domain: Domain::APP, nspace, blob: None } in store_new_key() 2320 | KeyDescriptor { alias: Some(alias), domain: Domain::SELINUX, nspace, blob: None } => { in store_new_key() 2390 key: &KeyDescriptor, in store_new_certificate() argument [all …]
|
D | maintenance.rs | 38 use android_system_keystore2::aidl::android::system::keystore2::KeyDescriptor::KeyDescriptor; 225 fn migrate_key_namespace(source: &KeyDescriptor, destination: &KeyDescriptor) -> Result<()> { in migrate_key_namespace() argument 326 source: &KeyDescriptor, in migrateKeyNamespace() argument 327 destination: &KeyDescriptor, in migrateKeyNamespace() argument
|
D | utils.rs | 36 Authorization::Authorization, Domain::Domain, KeyDescriptor::KeyDescriptor, 65 pub fn check_grant_permission(access_vec: KeyPermSet, key: &KeyDescriptor) -> anyhow::Result<()> { in check_grant_permission() 82 key: &KeyDescriptor, in check_key_permission() argument 268 ) -> Result<Vec<KeyDescriptor>> { in list_key_entries() argument
|
D | permission.rs | 23 Domain::Domain, KeyDescriptor::KeyDescriptor, KeyPermission::KeyPermission, 285 key: &KeyDescriptor, in check_grant_permission() argument 334 key: &KeyDescriptor, in check_key_permission() argument 523 let key = KeyDescriptor { domain: Domain::APP, nspace: 0, alias: None, blob: None }; in check_grant_permission_app() 541 let key = KeyDescriptor { in check_grant_permission_selinux() 560 let key = KeyDescriptor { domain: Domain::GRANT, nspace: 0, alias: None, blob: None }; in check_key_permission_domain_grant() 585 let key = KeyDescriptor { domain: Domain::APP, nspace: 0, alias: None, blob: None }; in check_key_permission_domain_app() 639 let key = KeyDescriptor { in check_key_permission_domain_selinux() 671 let key = KeyDescriptor { in check_key_permission_domain_blob() 688 let key = KeyDescriptor { domain: Domain::KEY_ID, nspace: 0, alias: None, blob: None }; in check_key_permission_domain_key_id()
|
/system/security/keystore2/aidl/android/security/maintenance/ |
D | IKeystoreMaintenance.aidl | 18 import android.system.keystore2.KeyDescriptor; 125 void migrateKeyNamespace(in KeyDescriptor source, in KeyDescriptor destination); in migrateKeyNamespace()
|
/system/security/ondevice-signing/ |
D | KeystoreHmacKey.h | 31 using KeyDescriptor = ::android::system::keystore2::KeyDescriptor; variable 44 KeyDescriptor mDescriptor;
|
D | KeystoreKey.h | 34 using KeyDescriptor = ::android::system::keystore2::KeyDescriptor; variable 54 KeyDescriptor mDescriptor;
|
/system/security/keystore2/test_utils/ |
D | key_generations.rs | 21 Domain::Domain, IKeystoreSecurityLevel::IKeystoreSecurityLevel, KeyDescriptor::KeyDescriptor, 48 &KeyDescriptor { in generate_ec_p256_signing_key_with_attestation()
|
/system/vold/ |
D | Keystore.cpp | 131 ks2::KeyDescriptor in_key = { in generateKey() 155 ks2::KeyDescriptor storageKey = { in exportKey() 185 ks2::KeyDescriptor keyDesc = { in deleteKey() 199 ks2::KeyDescriptor keyDesc = { in begin()
|