pub struct Directory<'c, 'a, W: Work = Memory> { /* private fields */ }Expand description
Prepared issuer/serial and SKI indexes retaining their own capacity charges.
Names are prepared once per certificate, not inside sorting comparators. Owner type determines storage/execution lifetime, never semantic ordering. Every new lookup explicitly funds its current domain. Unknown/malformed SKI gaps cannot become a completed None/One result; resource refusal aborts.
Implementations§
Source§impl<'c, 'a> Directory<'c, 'a>
impl<'c, 'a> Directory<'c, 'a>
Sourcepub fn of(
certificates: &[&'c Certificate<'a>],
execution: &Memory,
) -> Result<Self>
pub fn of( certificates: &[&'c Certificate<'a>], execution: &Memory, ) -> Result<Self>
Independently retained directory over certificates from any source session. Current Memory funds all construction; deferred SKI parsing preserves each original certificate’s reader/depth and its cumulative parse ceiling.
Source§impl<'c, 'a, 'p> Directory<'c, 'a, Execution<'p>>
impl<'c, 'a, 'p> Directory<'c, 'a, Execution<'p>>
Sourcepub fn of_in(
certificates: &[&'c Certificate<'a>],
parent: &'p Reader<'_>,
) -> Result<Self>where
'a: 'p,
pub fn of_in(
certificates: &[&'c Certificate<'a>],
parent: &'p Reader<'_>,
) -> Result<Self>where
'a: 'p,
Scoped directory over carried certificates from this one parser session.
The source identity of every certificate is checked before allocation,
normalization or lazy SKI parsing. A foreign pool belongs in Directory::of;
account equality cannot make it part of the producing document session.
Source§impl<'c, 'a, W: Work> Directory<'c, 'a, W>
impl<'c, 'a, W: Work> Directory<'c, 'a, W>
Sourcepub fn unreadable_identifiers(&self) -> &[Unreadable<'c, 'a>]
pub fn unreadable_identifiers(&self) -> &[Unreadable<'c, 'a>]
Original malformed SKI diagnostics, with their actual certificates.