Skip to main content

discover_certificates

Function discover_certificates 

Source
pub fn discover_certificates(storage_path: &PathBuf) -> Vec<DiscoveredCert>
Expand description

Find all certificates in the storage directory

Scans the given directory for .crt files and their corresponding .key files. Returns a list of discovered certificates.

§Arguments

  • storage_path - Path to the certificate storage directory

§Returns

Vector of DiscoveredCert structs for each valid cert/key pair found