Searched refs:KeyPermSet (Results 1 – 4 of 4) sorted by relevance
/system/security/keystore2/src/ |
D | permission.rs | 349 pub struct KeyPermSet(pub i32); struct 355 vec: KeyPermSet, 360 pub fn new(v: KeyPermSet) -> Self { in new() 383 impl From<KeyPerm> for KeyPermSet { implementation 390 impl From<i32> for KeyPermSet { implementation 396 impl From<KeyPermSet> for i32 { 397 fn from(p: KeyPermSet) -> i32 { in from() 402 impl KeyPermSet { impl 404 pub fn includes<T: Into<KeyPermSet>>(&self, other: T) -> bool { in includes() 405 let o: KeyPermSet = other.into(); in includes() [all …]
|
D | utils.rs | 20 use crate::permission::{KeyPerm, KeyPermSet, KeystorePerm}; 58 pub fn check_grant_permission(access_vec: KeyPermSet, key: &KeyDescriptor) -> anyhow::Result<()> { in check_grant_permission() argument 76 access_vector: &Option<KeyPermSet>, in check_key_permission() argument
|
D | database.rs | 51 use crate::permission::KeyPermSet; 2388 ) -> Result<(i64, KeyDescriptor, Option<KeyPermSet>)> { in load_access_tuple() argument 2465 let access_vector: Option<KeyPermSet> = in load_access_tuple() 2627 check_permission: impl Fn(&KeyDescriptor, Option<KeyPermSet>) -> Result<()>, in load_key_entry() 2658 check_permission: &impl Fn(&KeyDescriptor, Option<KeyPermSet>) -> Result<()>, in load_key_entry_internal() 2756 check_permission: impl Fn(&KeyDescriptor, Option<KeyPermSet>) -> Result<()>, in unbind_key() 3035 access_vector: KeyPermSet, in grant() argument 3036 check_permission: impl Fn(&KeyDescriptor, &KeyPermSet) -> Result<()>, in grant() 3221 use crate::permission::{KeyPerm, KeyPermSet}; 3708 const PVEC1: KeyPermSet = key_perm_set![KeyPerm::use_(), KeyPerm::get_info()]; in test_grant_ungrant() [all …]
|
D | service.rs | 326 access_vector: permission::KeyPermSet, in grant() argument
|