Home
last modified time | relevance | path

Searched refs:KeyDescriptor (Results 1 – 25 of 34) sorted by relevance

12

/system/hardware/interfaces/keystore2/aidl/android/system/keystore2/
DIKeystoreSecurityLevel.aidl24 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()
DIKeystoreService.aidl22 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()
DKeyMetadata.aidl22 import android.system.keystore2.KeyDescriptor;
38 KeyDescriptor key;
DKeyDescriptor.aidl54 parcelable KeyDescriptor {
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/
DIKeystoreSecurityLevel.aidl38 …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()
DIKeystoreService.aidl39 …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()
DKeyDescriptor.aidl37 parcelable KeyDescriptor {
DKeyMetadata.aidl38 android.system.keystore2.KeyDescriptor key;
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/1/android/system/keystore2/
DIKeystoreSecurityLevel.aidl38 …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()
DIKeystoreService.aidl39 …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()
DKeyDescriptor.aidl37 parcelable KeyDescriptor {
DKeyMetadata.aidl38 android.system.keystore2.KeyDescriptor key;
/system/security/keystore2/src/
Daudit_log.rs20 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
Dservice.rs45 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 …]
Dattestation_key_utils.rs28 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
Dsecurity_level.rs56 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 …]
Draw_device.rs34 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
Dmaintenance.rs35 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
Ddatabase.rs68 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 …]
Dutils.rs30 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
Dlegacy_migrator.rs31 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/
DIKeystoreMaintenance.aidl18 import android.system.keystore2.KeyDescriptor;
125 void migrateKeyNamespace(in KeyDescriptor source, in KeyDescriptor destination); in migrateKeyNamespace()
/system/security/ondevice-signing/
DKeystoreHmacKey.h31 using KeyDescriptor = ::android::system::keystore2::KeyDescriptor; variable
43 KeyDescriptor mDescriptor;
DKeystoreKey.h35 using KeyDescriptor = ::android::system::keystore2::KeyDescriptor; variable
52 KeyDescriptor mDescriptor;
/system/vold/
DKeymaster.cpp131 ks2::KeyDescriptor in_key = { in generateKey()
155 ks2::KeyDescriptor storageKey = { in exportKey()
179 ks2::KeyDescriptor keyDesc = { in deleteKey()
193 ks2::KeyDescriptor keyDesc = { in begin()

12