• Home
  • Raw
  • Download

Lines Matching refs:Vec

116         AttestationMacedPublicKey(Vec<u8>) with accessor attestation_maced_public_key,
119 AttestationRawPubKey(Vec<u8>) with accessor attestation_raw_pub_key,
121 Sec1PublicKey(Vec<u8>) with accessor sec1_public_key,
185 Salt(Vec<u8>) with accessor salt,
187 Iv(Vec<u8>) with accessor iv,
189 AeadTag(Vec<u8>) with accessor aead_tag,
193 PublicKey(Vec<u8>) with accessor public_key,
310 let blob = Vec::<u8>::column_result(value)?; in column_result()
577 cert: Option<Vec<u8>>,
578 cert_chain: Option<Vec<u8>>,
583 pub fn new(cert: Option<Vec<u8>>, cert_chain: Option<Vec<u8>>) -> Self { in new()
588 pub fn take_cert(&mut self) -> Option<Vec<u8>> { in take_cert()
593 pub fn take_cert_chain(&mut self) -> Option<Vec<u8>> { in take_cert_chain()
604 pub batch_cert: Vec<u8>,
607 pub cert_chain: Vec<u8>,
617 key_blob_info: Option<(Vec<u8>, BlobMetaData)>,
618 cert: Option<Vec<u8>>,
619 cert_chain: Option<Vec<u8>>,
621 parameters: Vec<KeyParameter>,
632 pub fn key_blob_info(&self) -> &Option<(Vec<u8>, BlobMetaData)> { in key_blob_info()
636 pub fn take_key_blob_info(&mut self) -> Option<(Vec<u8>, BlobMetaData)> { in take_key_blob_info()
640 pub fn cert(&self) -> &Option<Vec<u8>> { in cert()
644 pub fn take_cert(&mut self) -> Option<Vec<u8>> { in take_cert()
648 pub fn cert_chain(&self) -> &Option<Vec<u8>> { in cert_chain()
652 pub fn take_cert_chain(&mut self) -> Option<Vec<u8>> { in take_cert_chain()
660 pub fn key_parameters(&self) -> &Vec<KeyParameter> { in key_parameters()
664 pub fn into_key_parameters(self) -> Vec<KeyParameter> { in into_key_parameters()
677 pub fn into_key_parameters_and_metadata(self) -> (Vec<KeyParameter>, KeyMetaData) { in into_key_parameters_and_metadata()
1132 ) -> Result<Vec<(i64, Vec<u8>, BlobMetaData)>> { in handle_next_superseded_blobs()
1149 let result: Vec<(i64, Vec<u8>)> = { in handle_next_superseded_blobs()
1176 rows.collect::<Result<Vec<(i64, Vec<u8>)>, rusqlite::Error>>() in handle_next_superseded_blobs()
1185 .collect::<Result<Vec<(i64, Vec<u8>, BlobMetaData)>>>() in handle_next_superseded_blobs()
1353 F: Fn() -> Result<(Vec<u8>, BlobMetaData)>, in get_or_create_key_with()
1852 ) -> Result<Vec<Vec<u8>>> { in fetch_unsigned_attestation_keys()
1882 .collect::<rusqlite::Result<Vec<Vec<u8>>>>() in fetch_unsigned_attestation_keys()
1910 .collect::<rusqlite::Result<Vec<(i64, DateTime)>>>() in delete_expired_attestation_keys()
1940 .collect::<rusqlite::Result<Vec<i64>>>() in delete_all_attestation_keys()
1945 .collect::<Result<Vec<bool>>>() in delete_all_attestation_keys()
1986 .collect::<rusqlite::Result<Vec<DateTime>>>() in get_attestation_pool_status()
2000 .collect::<rusqlite::Result<Vec<(Option<String>, Option<u32>)>>>() in get_attestation_pool_status()
2064 .collect::<rusqlite::Result<Vec<(SubComponentType, Vec<u8>)>>>() in retrieve_attestation_key_and_cert_chain()
2077 let mut km_blob: Vec<u8> = Vec::new(); in retrieve_attestation_key_and_cert_chain()
2078 let mut cert_chain_blob: Vec<u8> = Vec::new(); in retrieve_attestation_key_and_cert_chain()
2079 let mut batch_cert_blob: Vec<u8> = Vec::new(); in retrieve_attestation_key_and_cert_chain()
2496 ) -> Result<(bool, Option<(Vec<u8>, BlobMetaData)>, Option<Vec<u8>>, Option<Vec<u8>>)> { in load_blob_components()
2507 let mut key_blob: Option<(i64, Vec<u8>)> = None; in load_blob_components()
2508 let mut cert_blob: Option<Vec<u8>> = None; in load_blob_components()
2509 let mut cert_chain_blob: Option<Vec<u8>> = None; in load_blob_components()
2550 fn load_key_parameters(key_id: i64, tx: &Transaction) -> Result<Vec<KeyParameter>> { in load_key_parameters()
2558 let mut parameters: Vec<KeyParameter> = Vec::new(); in load_key_parameters()
2923 let mut key_ids: Vec<i64> = Vec::new(); in unbind_keys_for_user()
2990 ) -> Result<Vec<KeyDescriptor>> { in list()
3009 let mut descriptors: Vec<KeyDescriptor> = Vec::new(); in list()
3324 .collect::<rusqlite::Result<Vec<String>>>()?; in test_tables()
3388 fn get_auth_tokens(db: &KeystoreDB) -> Vec<AuthTokenEntry> { in get_auth_tokens()
3444 let public_key: Vec<u8> = vec![0x01, 0x02, 0x03]; in test_add_unsigned_key()
3445 let private_key: Vec<u8> = vec![0x04, 0x05, 0x06]; in test_add_unsigned_key()
3446 let raw_public_key: Vec<u8> = vec![0x07, 0x08, 0x09]; in test_add_unsigned_key()
3504 let public_key: Vec<u8> = vec![0x01, 0x02, 0x03]; in test_get_attestation_pool_status()
3505 let private_key: Vec<u8> = vec![0x04, 0x05, 0x06]; in test_get_attestation_pool_status()
3506 let raw_public_key: Vec<u8> = vec![0x07, 0x08, 0x09]; in test_get_attestation_pool_status()
3507 let cert_chain: Vec<u8> = vec![0x0a, 0x0b, 0x0c]; in test_get_attestation_pool_status()
3508 let batch_cert: Vec<u8> = vec![0x0d, 0x0e, 0x0f]; in test_get_attestation_pool_status()
3867 .query_map::<((SubComponentType, i64, Vec<u8>), i64), _, _>(NO_PARAMS, |row| { in test_set_blob()
4873 let list_o_keys: Vec<(i64, i64)> = LIST_O_ENTRIES in list()
4887 let mut list_o_descriptors: Vec<KeyDescriptor> = LIST_O_ENTRIES in list()
4904 let mut list_o_ids: Vec<i64> = list_o_descriptors in list()
4920 let mut loaded_entries: Vec<i64> = list_o_keys in list()
4930 assert_eq!(Vec::<KeyDescriptor>::new(), db.list(Domain::SELINUX, 101, KeyType::Client)?); in list()
4962 fn get_keyentry(db: &KeystoreDB) -> Result<Vec<KeyEntryRow>> { in get_keyentry()
4980 .collect::<Result<Vec<_>>>() in get_keyentry()
4984 cert_chain: Vec<u8>,
4985 priv_key: Vec<u8>,
4986 batch_cert: Vec<u8>,
4995 let public_key: Vec<u8> = vec![base_byte, 0x02 * base_byte]; in load_attestation_key_pool()
4996 let cert_chain: Vec<u8> = vec![0x03 * base_byte, 0x04 * base_byte]; in load_attestation_key_pool()
4997 let priv_key: Vec<u8> = vec![0x05 * base_byte, 0x06 * base_byte]; in load_attestation_key_pool()
4998 let raw_public_key: Vec<u8> = vec![0x0b * base_byte, 0x0c * base_byte]; in load_attestation_key_pool()
4999 let batch_cert: Vec<u8> = vec![base_byte * 0x0d, base_byte * 0x0e]; in load_attestation_key_pool()
5015 fn make_test_params(max_usage_count: Option<i32>) -> Vec<KeyParameter> { in make_test_params()
5498 fn get_valid_statsd_storage_types() -> Vec<MetricsStorage> { in get_valid_statsd_storage_types()
5547 increased_storage_types: Vec<MetricsStorage>, in assert_storage_increased()