Lines Matching refs:keys
60 let mut keys = HashSet::with_capacity(1 + payloads.len()); in validate() localVariable
61 keys.insert(root_public_key.to_pem()); in validate()
77 if keys.replace(payload.subject_public_key().to_pem()).is_some() { in validate()
196 let keys = P256_KEY_PEM[1..4].iter().copied().enumerate(); in chain_validate_valid() localVariable
197 let payloads = keys.map(|(n, key)| valid_payload(n, key).build().unwrap()).collect(); in chain_validate_valid()
204 let keys = [P256_KEY_PEM[0], P384_KEY_PEM[0]].into_iter().enumerate(); in chain_validate_valid_with_mixed_kinds_of_key() localVariable
205 let payloads = keys.map(|(n, key)| valid_payload(n, key).build().unwrap()).collect(); in chain_validate_valid_with_mixed_kinds_of_key()
240 let keys = &P256_KEY_PEM[..3]; in chain_validate_fails_with_repeated_subjects() localVariable
244 valid_payload(0, keys[0]).subject(repeated).build().unwrap(), in chain_validate_fails_with_repeated_subjects()
245 valid_payload(1, keys[1]).issuer(repeated).build().unwrap(), in chain_validate_fails_with_repeated_subjects()
246 valid_payload(2, keys[2]).subject(repeated).build().unwrap(), in chain_validate_fails_with_repeated_subjects()