aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/composer/ca_bundle/ca_bundle.rs
blob: 8bd9bb566a1b20269d635455c89a6da586a84f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! ref: composer/vendor/composer/ca-bundle/src/CaBundle.php

#[derive(Debug)]
pub struct CaBundle;

impl CaBundle {
    pub fn is_openssl_parse_safe() -> bool {
        todo!()
    }

    // The original `$logger` parameter (PSR LoggerInterface) is replaced by a
    // `()` placeholder: CaBundle is expected to be subsumed by a Rust TLS
    // library and removed, so it does not need a real logger.
    pub fn get_system_ca_root_bundle_path(_logger: ()) -> String {
        todo!()
    }

    pub fn validate_ca_file(_ca_file: &str, _logger: ()) -> bool {
        todo!()
    }
}