Searched refs:key_header (Results 1 – 2 of 2) sorted by relevance
143 pub(crate) key_header: KeyHeader, field171 let key_header = KeyHeader::new(policy)?; in new_binder() localVariable173 let opaque_key = OpaqueKey { key_header, key_material }; in new_binder()180 let key_header = self.key_header.try_clone()?; in try_clone() localVariable182 Ok(OpaqueKey { key_header, key_material }) in try_clone()246 validate_lifetime(self.key_header.key_lifetime)?; in derivation_allowed_lifetime()248 match self.key_header.key_lifetime { in derivation_allowed_lifetime()270 self.key_header.key_lifetime in derivation_allowed_lifetime()280 if self.key_header.key_usage != KeyUse::DERIVE { in key_can_be_used_for_derivation()301 Ok(self.key_header.get_policy()?) in getKeyPolicy()
669 let key_header = match algorithm { in read_key_test() localVariable674 raw_protobuf.extend_from_slice(&key_header); in read_key_test()