Class RawHashes
The uncompressed threat entries in hash format of a particular prefix length. Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 bytes, but some hashes are lengthened if they collide with the hash of a popular URL.
Used for sending ThreatEntrySet to clients that do not support compression, or when sending non-4-byte hashes to clients that do support compression.
Inheritance
System.Object
RawHashes
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Safebrowsing.v4.Data
Assembly: Google.Apis.Safebrowsing.v4.dll
Syntax
public class RawHashes : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PrefixSize
The number of bytes for each prefix encoded below. This field can be anywhere from 4 (shortest prefix) to 32 (full SHA256 hash).
Declaration
[JsonProperty("prefixSize")]
public virtual int? PrefixSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
RawHashesValue
The hashes, in binary format, concatenated into one long string. Hashes are sorted in lexicographic order. For JSON API users, hashes are base64-encoded.
Declaration
[JsonProperty("rawHashes")]
public virtual string RawHashesValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Implements
Google.Apis.Requests.IDirectResponseSchema