Module implementing the low level interface for Google Safe Browsing.
None |
SafeBrowsingAPIClient | Class implementing the low level interface for Google Safe Browsing. |
None |
Class implementing the low level interface for Google Safe Browsing.
ClientId |
ClientVersion |
GsbUrlTemplate |
definedPlatformTypes | Class method to get all platform types defined in API v4. |
definedThreatEntryTypes | Class method to get all threat entry types defined in API v4. |
definedThreatTypes | Class method to get all threat types defined in API v4. |
getPlatformString | Class method to get the platform string for a given platform type. |
getPlatformTypes | Class method to get the platform types for a given platform. |
getThreatEntryString | Class method to get the threat entry string. |
getThreatMessage | Class method to get a warning message for the given threat type. |
getThreatType | Class method to get a display string for a given threat type. |
SafeBrowsingAPIClient | Constructor |
__extractData | Private method to extract the data of a network reply. |
__setWaitDuration | Private method to set the minimum wait duration. |
fairUseDelayExpired | Public method to check, if the fair use wait period has expired. |
getFairUseDelayExpirationDateTime | Public method to get the date and time the fair use delay will expire. |
getFullHashes | Public method to find full hashes matching hash prefixes. |
getThreatLists | Public method to retrieve all available threat lists. |
getThreatsUpdate | Public method to fetch hash prefix updates for the given threat list. |
lookupUrl | Public method to send an URL to Google for checking. |
setApiKey | Public method to set the API key. |
None |
Class method to get all platform types defined in API v4.
Class method to get all threat entry types defined in API v4.
Class method to get all threat types defined in API v4.
Class method to get the platform string for a given platform type.
Class method to get the platform types for a given platform.
Class method to get the threat entry string.
Class method to get a warning message for the given threat type.
Class method to get a display string for a given threat type.
Constructor
Private method to extract the data of a network reply.
Private method to set the minimum wait duration.
Public method to check, if the fair use wait period has expired.
Public method to get the date and time the fair use delay will expire.
Public method to find full hashes matching hash prefixes.
Public method to retrieve all available threat lists.
Public method to fetch hash prefix updates for the given threat list.
Public method to send an URL to Google for checking.
Public method to set the API key.