pub fn validate_file_path(path: &str, _name: &str) -> ValidationResult<()>Expand description
Validates a file path exists and is readable.
§Security
- Checks for path traversal attempts
- Verifies file exists and is readable
- Returns specific errors for debugging without exposing full paths in production
§Arguments
path- File path to validate_name- Description for error messages (e.g., “certificate”, “private key”) - unused but kept for API consistency