Searched defs:root_public_key (Results 1 – 2 of 2) sorted by relevance
20 root_public_key: PublicKey, field77 pub fn root_public_key(&self) -> &PublicKey { in root_public_key() method174 let root_public_key = PrivateKey::from_pem(P256_KEY_PEM[0]).public_key(); in chain_validate_valid() localVariable182 let root_public_key = PrivateKey::from_pem(ED25519_KEY_PEM[0]).public_key(); in chain_validate_valid_with_mixed_kinds_of_key() localVariable190 let root_public_key = PrivateKey::from_pem(P256_KEY_PEM[0]).public_key(); in chain_validate_fails_without_payloads() localVariable199 let root_public_key = PrivateKey::from_pem(key).public_key(); in chain_validate_fails_when_root_key_repeated() localVariable208 let root_public_key = PrivateKey::from_pem(ED25519_KEY_PEM[0]).public_key(); in chain_validate_fails_with_repeated_subject_public_keys() localVariable221 let root_public_key = PrivateKey::from_pem(ED25519_KEY_PEM[0]).public_key(); in chain_validate_fails_with_repeated_subjects() localVariable235 let root_public_key = PrivateKey::from_pem(P256_KEY_PEM[0]).public_key(); in chain_validate_fails_with_mismatching_issuer_and_subject() localVariable
84 let root_public_key = cose_key_from_cbor_value(session, it.next().unwrap()) in root_and_entries_from_cbor() localVariable86 let root_public_key = PublicKey::from_cose_key(&root_public_key).context("Invalid root key")?; in root_and_entries_from_cbor() localVariable187 let root_public_key = root_key.public_key().pkey().raw_public_key().unwrap(); in chain_from_cbor_root_key_integer_key_ops() localVariable