pub trait Provider<E> {
type Error;
// Required method
fn visit<'m, 'd, V>(
&self,
credential: &Checked<'m, 'd, '_, E>,
open: &[Open<'d>],
operation: &ScopedReader<'d, '_>,
visitor: impl for<'value, 'source> FnMut(Need<'value, 'source, 'm, 'd>) -> Result<(), V>,
) -> Result<Completeness, VisitError<Self::Error, V>>;
}Expand description
Same format owner as authentication, using its actual retained evidence. It discovers ALL credential-specific validation material, including the credential’s own status, using current Work before decoding/copy/allocation or arithmetic. Certificate-free authentication does not waive this step. EN319122-1 §§5.2.6.1, 5.4 and 6.3 require credential validation data in addition to the issuer’s X.509 path/status. https://www.etsi.org/deliver/etsi_en/319100_319199/31912201/01.03.01_60/en_31912201v010301p.pdf
Required Associated Types§
Required Methods§
Sourcefn visit<'m, 'd, V>(
&self,
credential: &Checked<'m, 'd, '_, E>,
open: &[Open<'d>],
operation: &ScopedReader<'d, '_>,
visitor: impl for<'value, 'source> FnMut(Need<'value, 'source, 'm, 'd>) -> Result<(), V>,
) -> Result<Completeness, VisitError<Self::Error, V>>
fn visit<'m, 'd, V>( &self, credential: &Checked<'m, 'd, '_, E>, open: &[Open<'d>], operation: &ScopedReader<'d, '_>, visitor: impl for<'value, 'source> FnMut(Need<'value, 'source, 'm, 'd>) -> Result<(), V>, ) -> Result<Completeness, VisitError<Self::Error, V>>
Visit dependencies once without reauthenticating or acquiring sources.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".