162 def getFullHashes(self, prefixes, clientState): |
162 def getFullHashes(self, prefixes, clientState): |
163 """ |
163 """ |
164 Public method to find full hashes matching hash prefixes. |
164 Public method to find full hashes matching hash prefixes. |
165 |
165 |
166 @param prefixes list of hash prefixes to find |
166 @param prefixes list of hash prefixes to find |
167 @type list of str (Python 2) or list of bytes (Python 3) |
167 @type list of bytes |
168 @param clientState dictionary of client states with keys like |
168 @param clientState dictionary of client states with keys like |
169 (threatType, platformType, threatEntryType) |
169 (threatType, platformType, threatEntryType) |
170 @type dict |
170 @type dict |
171 @return dictionary containing the list of found hashes and the |
171 @return dictionary containing the list of found hashes and the |
172 negative cache duration |
172 negative cache duration |