20260626_2 优化child证书缓存并修复远端发布

This commit is contained in:
2026-06-26 18:52:27 +08:00
parent 9e339e63e7
commit f1a73bd2d1
8 changed files with 669 additions and 25 deletions

View File

@@ -196,10 +196,16 @@ pub struct PublicationPointRunResult {
pub discovered_children: Vec<DiscoveredChildCaInstance>,
}
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct DiscoveredChildEntryProjection {
pub child_ski: String,
}
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct DiscoveredChildCaInstance {
pub handle: CaInstanceHandle,
pub discovered_from: DiscoveredFrom,
pub child_entry_projection: Option<DiscoveredChildEntryProjection>,
}
#[derive(Clone, Debug, PartialEq, Eq)]
@@ -495,6 +501,7 @@ mod tests {
.to_string(),
child_ca_certificate_sha256_hex: "00".repeat(32),
},
child_entry_projection: None,
}]
} else {
Vec::new()