Function security::check_key_file[][src]

pub(crate) fn check_key_file(
    tag: &str,
    path: &str
) -> Result<Option<File>, Box<dyn Error>>

Checks and opens key file. Returns Ok(None) if the path is empty.

Arguments