Lines Matching refs:cert_chain

578     cert_chain: Option<Vec<u8>>,  field
583 pub fn new(cert: Option<Vec<u8>>, cert_chain: Option<Vec<u8>>) -> Self { in new()
584 Self { cert, cert_chain } in new()
594 self.cert_chain.take() in take_cert_chain()
607 pub cert_chain: Vec<u8>, field
619 cert_chain: Option<Vec<u8>>, field
648 pub fn cert_chain(&self) -> &Option<Vec<u8>> { in cert_chain() method
649 &self.cert_chain in cert_chain()
653 self.cert_chain.take() in take_cert_chain()
1713 cert_chain: &[u8], in store_signed_attestation_certificate_chain()
1769 Some(cert_chain), in store_signed_attestation_certificate_chain()
2098 cert_chain: cert_chain_blob, in retrieve_attestation_key_and_cert_chain()
2269 if let Some(cert_chain) = &cert_info.cert_chain { in store_new_key()
2274 Some(&cert_chain), in store_new_key()
2972 cert_chain: cert_chain_blob, in load_key_components()
3468 let cert_chain = chain.unwrap(); in test_store_signed_attestation_certificate_chain() localVariable
3469 assert_eq!(cert_chain.private_key.to_vec(), loaded_values.priv_key); in test_store_signed_attestation_certificate_chain()
3470 assert_eq!(cert_chain.batch_cert, loaded_values.batch_cert); in test_store_signed_attestation_certificate_chain()
3471 assert_eq!(cert_chain.cert_chain, loaded_values.cert_chain); in test_store_signed_attestation_certificate_chain()
3505 let cert_chain: Vec<u8> = vec![0x0a, 0x0b, 0x0c]; in test_get_attestation_pool_status() localVariable
3520 &cert_chain, in test_get_attestation_pool_status()
3560 let mut cert_chain = in test_remove_expired_certs() localVariable
3562 assert!(cert_chain.is_some()); in test_remove_expired_certs()
3563 let value = cert_chain.unwrap(); in test_remove_expired_certs()
3565 assert_eq!(entry_values.cert_chain, value.cert_chain); in test_remove_expired_certs()
3568 cert_chain = db.retrieve_attestation_key_and_cert_chain( in test_remove_expired_certs()
3573 assert!(!cert_chain.is_some()); in test_remove_expired_certs()
3574 cert_chain = db.retrieve_attestation_key_and_cert_chain( in test_remove_expired_certs()
3579 assert!(!cert_chain.is_some()); in test_remove_expired_certs()
4982 cert_chain: Vec<u8>, field
4994 let cert_chain: Vec<u8> = vec![0x03 * base_byte, 0x04 * base_byte]; in load_attestation_key_pool() localVariable
5002 &cert_chain, in load_attestation_key_pool()
5007 Ok(RemoteProvValues { cert_chain, priv_key, batch_cert }) in load_attestation_key_pool()
5290 cert_chain: Some(TEST_CERT_CHAIN_BLOB.to_vec()), in make_test_key_entry_test_vector()
5350 cert_chain: Some(TEST_CERT_CHAIN_BLOB.to_vec()), in make_bootlevel_test_key_entry_test_vector()