pub struct SingleResponse<'a> { /* private fields */ }Expand description
One signed assertion with deferred extension semantics.
Implementations§
Source§impl SingleResponse<'_>
impl SingleResponse<'_>
Sourcepub fn update_window<W: Work>(
&self,
now: Reading,
utc: &LeapTable<'_>,
execution: &W,
) -> Result<UpdateWindow>
pub fn update_window<W: Work>( &self, now: Reading, utc: &LeapTable<'_>, execution: &W, ) -> Result<UpdateWindow>
Compare update labels using explicit UTC facts and the current account. RFC6960 §3.2(5) leaves “sufficiently recent” to the client’s acceptance criteria; §3.2(6) requires nextUpdate, when present, greater than now. This result never supplies a maximum age, clock or clock-skew allowance. https://www.rfc-editor.org/rfc/rfc6960#section-3.2
Source§impl<'a> SingleResponse<'a>
impl<'a> SingleResponse<'a>
Sourcepub fn check_extensions<W: Work>(
&self,
execution: &W,
) -> Result<ExtensionProcessing<'a>>
pub fn check_extensions<W: Work>( &self, execution: &W, ) -> Result<ExtensionProcessing<'a>>
Process this assertion’s critical demands, independently of unrelated assertions. No optional single-extension semantics are advertised by this core, so unknown critical demands remain unsupported facts.
Source§impl<'a> SingleResponse<'a>
impl<'a> SingleResponse<'a>
Sourcepub fn revocation_relation<W: Work>(
&self,
now: Reading,
utc: &LeapTable<'_>,
execution: &W,
) -> Result<Option<Relation>>
pub fn revocation_relation<W: Work>( &self, now: Reading, utc: &LeapTable<'_>, execution: &W, ) -> Result<Option<Relation>>
UTC-qualified recorded revocation time, when this assertion is revoked. This never decides whether a future date may be ignored by the product.
Sourcepub fn this_update(&self) -> Time
pub fn this_update(&self) -> Time
Most recent time the responder knew this status to be correct.
Sourcepub fn next_update(&self) -> Option<Time>
pub fn next_update(&self) -> Option<Time>
Recommended update boundary, absent when newer information is always available. No lifetime is invented for an absent value.
Sourcepub fn extensions(&self) -> &Extensions<'a>
pub fn extensions(&self) -> &Extensions<'a>
Deferred extensions, still using their source parser and current account.