Parse the filename that is provided from the given certificate source Returns None if there is an error.
(self, file_name, certSource)
| 960 | return cert_object |
| 961 | |
| 962 | def parse_file(self, file_name, certSource): |
| 963 | """ |
| 964 | Parse the filename that is provided from the given certificate source |
| 965 | Returns None if there is an error. |
| 966 | """ |
| 967 | data = self.__open_file(file_name) |
| 968 | if data == None: |
| 969 | self._logger.error("ERROR Could not parse: " + file_name) |
| 970 | return None |
| 971 | |
| 972 | cert_object = self.__parse(data, certSource) |
| 973 | return cert_object |
| 974 | |
| 975 | def parse_data(self, cert_data, certSource, addHeaders=False): |
| 976 | """ |
nothing calls this directly
no test coverage detected