def METHOD_NAME(self, default_ca_certs_path: str | None) -> CreateDigest | None:
    path = default_ca_certs_path if self.ca_certs_path == "<inherit>" else self.ca_certs_path
    if not path or path == "<none>":
        return None
    return CreateDigest((ca_certs_path_to_file_content(path),))