20260626_2 优化child证书缓存并修复远端发布
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user