ThreatEntry
निजी तौर पर खतरा; उदाहरण के लिए, नुकसान पहुंचाने वाला यूआरएल या उसका हैश किया गया डेटा. इनमें से सिर्फ़ एक फ़ील्ड सेट होना चाहिए.
JSON के काेड में दिखाना |
{
"hash": string,
"url": string,
"digest": string
} |
फ़ील्ड |
hash |
string (bytes format)
एक हैश प्रीफ़िक्स, जिसमें SHA256 हैश के सबसे अहम 4-32 बाइट होते हैं. यह फ़ील्ड बाइनरी फ़ॉर्मैट में है. JSON अनुरोधों के लिए, हैश को base64 कोड में बदला जाता है. base64 कोड में बदली गई स्ट्रिंग.
|
url |
string
यूआरएल.
|
digest |
string (bytes format)
SHA256 फ़ॉर्मैट में, किसी एक्ज़ीक्यूटेबल का डाइजेस्ट. यह एपीआई, बाइनरी और हेक्स डाइजेस्ट, दोनों के साथ काम करता है. JSON के अनुरोधों के लिए, गतिविधि का ब्यौरा base64 की मदद से कोड में बदला जाता है. Base64 कोड में बदली गई स्ट्रिंग.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-10-11 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-10-11 (UTC) को अपडेट किया गया."],[[["ThreatEntry defines an individual threat using either a hash, a URL, or a digest, but only one field should be populated at a time."],["The `hash` field represents a SHA256 hash prefix in binary format (base64-encoded for JSON)."],["The `url` field simply contains a URL string to specify the threat."],["The `digest` field holds the SHA256 digest of an executable, supporting both binary and hex formats (base64-encoded for JSON)."]]],["The JSON data represents a single threat, using either a `hash`, `url`, or `digest`. The `hash` is a base64-encoded SHA256 hash prefix (4-32 bytes). The `url` is a string representing a URL. The `digest` is a base64-encoded SHA256 digest of an executable, supporting both binary and hex. Only one of these fields should be populated in any given representation of this threat data.\n"]]