/// Processes all data for the given trust CA.
/// 
/// The CA cert is given through `cert`. It is located at `uri`, this
/// is only needed for composing error messages. Any route origins found
/// in the objects issued directly or transitively by this CA are added
/// to `routes`.
Processes all data for the given trust CA.
The CA cert is given through `cert`. It is located at `uri`, this
is only needed for composing error messages. Any route origins found
in the objects issued directly or transitively by this CA are added
to `routes`.
Processes all data for the given trust CA . The CA cert is given through ` cert ` . It is located at ` uri ` this is only needed for composing error messages . Any route origins found in the objects issued directly or transitively by this CA are added to ` routes ` .
fn process_ca(
        &self,
        cert: ResourceCert,
        uri: &uri::Rsync,
        routes: &mut RouteOrigins
    ) {
        let mut store = CrlStore::new();
        let repo_uri = match cert.repository_uri() {
            Some(uri) => uri,
            None => {
                info!("CA cert {} has no repository URI. Ignoring.", uri);
                return
            }
        };
        let manifest = match self.get_manifest(&cert, uri, &mut store) {
            Some(manifest) => manifest,
            None => {
                info!("No valid manifest for CA {}. Ignoring.", uri);
                return
            }
        };
        for item in manifest.iter_uris(repo_uri) {
            let (uri, hash) = match item {
                Ok(item) => item,
                Err(_) => continue,
            };
            self.process_object(uri, hash, &cert, &mut store, routes);
        }
    }
fn process_ca ( & self , cert : ResourceCert , uri : & uri :: Rsync , routes : & mut RouteOrigins ) { let mut store = CrlStore :: new ( ) ; let repo_uri = match cert . repository_uri ( ) { Some ( uri ) => uri , None => { info ! ( " " uri ) ; return } } ; let manifest = match self . get_manifest ( & cert , uri , & mut store ) { Some ( manifest ) => manifest , None => { info ! ( " " uri ) ; return } } ; for item in manifest . iter_uris ( repo_uri ) { let ( uri , hash ) = match item { Ok ( item ) => item , Err ( _ ) => continue , } ; self . process_object ( uri , hash , & cert , & mut store , routes ) ; } }
Processes all data for the given trust CA.
Processes all data for the given trust CA .
&self
cert
ResourceCert
uri
&uri::Rsync
routes
&mut RouteOrigins