/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() 133 KeyMetadata generateKey(in KeyDescriptor key, in @nullable KeyDescriptor attestationKey, in generateKey() 147 KeyMetadata importKey(in KeyDescriptor key, in @nullable KeyDescriptor attestationKey, in importKey() 176 KeyMetadata importWrappedKey(in KeyDescriptor key, in KeyDescriptor wrappingKey, in importWrappedKey() 196 EphemeralStorageKeyResponse convertStorageKeyToEphemeral(in KeyDescriptor storageKey); in convertStorageKeyToEphemeral() 214 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/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()
|
D | KeyDescriptor.aidl | 37 parcelable KeyDescriptor {
|
D | KeyMetadata.aidl | 38 android.system.keystore2.KeyDescriptor key;
|
/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 {
|
D | KeyMetadata.aidl | 38 android.system.keystore2.KeyDescriptor key;
|
/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, 133 fn get_key_entry(&self, key: &KeyDescriptor) -> Result<KeyEntryResponse> { in get_key_entry() 161 key: KeyDescriptor { in get_key_entry() 182 key: &KeyDescriptor, in update_subcomponent() argument 227 (Domain::APP, Some(ref alias)) => KeyDescriptor { in update_subcomponent() 256 fn list_entries(&self, domain: Domain, namespace: i64) -> Result<Vec<KeyDescriptor>> { in list_entries() argument 258 Domain::APP => KeyDescriptor { in list_entries() 263 Domain::SELINUX => KeyDescriptor{domain, nspace: namespace, ..Default::default()}, in list_entries() 309 fn delete_key(&self, key: &KeyDescriptor) -> Result<()> { in delete_key() 324 key: &KeyDescriptor, in grant() argument [all …]
|
D | attestation_key_utils.rs | 28 Domain::Domain, KeyDescriptor::KeyDescriptor, 53 key: &KeyDescriptor, in get_attest_key_info() argument 55 attest_key_descriptor: Option<&KeyDescriptor>, in get_attest_key_info() argument 81 key: &KeyDescriptor, in get_user_generated_attestation_key() argument 97 key: &KeyDescriptor, in load_attest_key_blob_and_cert() argument
|
D | security_level.rs | 56 IKeystoreSecurityLevel::IKeystoreSecurityLevel, KeyDescriptor::KeyDescriptor, 112 key: KeyDescriptor, in store_new_key() argument 151 Domain::BLOB => KeyDescriptor { in store_new_key() 157 .with::<_, Result<KeyDescriptor>>(|db| { in store_new_key() 187 Ok(KeyDescriptor { in store_new_key() 208 key: &KeyDescriptor, in create_operation() argument 393 key: &KeyDescriptor, in add_certificate_parameters() argument 466 key: &KeyDescriptor, in generate_key() argument 467 attest_key_descriptor: Option<&KeyDescriptor>, in generate_key() argument 479 Domain::APP => KeyDescriptor { in generate_key() [all …]
|
D | raw_device.rs | 34 Domain::Domain, KeyDescriptor::KeyDescriptor, ResponseCode::ResponseCode, 103 key_desc: &KeyDescriptor, in create_and_store_key() argument 136 pub fn internal_descriptor(alias: String) -> KeyDescriptor { in internal_descriptor() argument 137 KeyDescriptor { in internal_descriptor() 148 key_desc: &KeyDescriptor, in lookup_from_desc() argument 173 key_desc: &KeyDescriptor, in lookup_or_generate_key() argument
|
D | maintenance.rs | 35 use android_system_keystore2::aidl::android::system::keystore2::KeyDescriptor::KeyDescriptor; 219 fn migrate_key_namespace(source: &KeyDescriptor, destination: &KeyDescriptor) -> Result<()> { in migrate_key_namespace() argument 306 source: &KeyDescriptor, in migrateKeyNamespace() argument 307 destination: &KeyDescriptor, in migrateKeyNamespace() argument
|
D | database.rs | 68 Domain::Domain, KeyDescriptor::KeyDescriptor, 1246 KeyDescriptor { domain, nspace, alias: Some(alias.to_string()), blob: None }; in key_exists() 1317 let key_descriptor = KeyDescriptor { in load_super_key() 2165 destination: &KeyDescriptor, in migrate_key_namespace() argument 2167 check_permission: impl Fn(&KeyDescriptor) -> Result<()>, in migrate_key_namespace() 2172 Domain::APP => KeyDescriptor { nspace: caller_uid as i64, ..(*destination).clone() }, in migrate_key_namespace() 2233 key: &KeyDescriptor, in store_new_key() argument 2244 KeyDescriptor { alias: Some(alias), domain: Domain::APP, nspace, blob: None } in store_new_key() 2245 | KeyDescriptor { alias: Some(alias), domain: Domain::SELINUX, nspace, blob: None } => { in store_new_key() 2294 key: &KeyDescriptor, in store_new_certificate() argument [all …]
|
D | utils.rs | 30 Authorization::Authorization, KeyDescriptor::KeyDescriptor, 58 pub fn check_grant_permission(access_vec: KeyPermSet, key: &KeyDescriptor) -> anyhow::Result<()> { in check_grant_permission() 75 key: &KeyDescriptor, in check_key_permission() argument
|
D | legacy_migrator.rs | 31 Domain::Domain, KeyDescriptor::KeyDescriptor, ResponseCode::ResponseCode, 198 pub fn list_uid(&self, domain: Domain, namespace: i64) -> Result<Vec<KeyDescriptor>> { in list_uid() argument 209 .map(|alias| KeyDescriptor { in list_uid() 288 key: &KeyDescriptor, in with_try_migrate() argument 309 KeyDescriptor { domain: Domain::APP, alias: Some(_), .. } => caller_uid, in with_try_migrate() 310 KeyDescriptor { domain: Domain::SELINUX, nspace, alias: Some(_), .. } => { in with_try_migrate() 435 fn check_and_migrate(&mut self, uid: u32, mut key: KeyDescriptor) -> Result<()> { in check_and_migrate()
|
/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 43 KeyDescriptor mDescriptor;
|
D | KeystoreKey.h | 35 using KeyDescriptor = ::android::system::keystore2::KeyDescriptor; variable 52 KeyDescriptor mDescriptor;
|
/system/vold/ |
D | Keymaster.cpp | 131 ks2::KeyDescriptor in_key = { in generateKey() 155 ks2::KeyDescriptor storageKey = { in exportKey() 179 ks2::KeyDescriptor keyDesc = { in deleteKey() 193 ks2::KeyDescriptor keyDesc = { in begin()
|