Andre
unread,Mar 11, 2012, 12:52:32 AM3/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Safe Browsing API
I'm a little confused on the format of subchunks. Could someone clear
this part of please.
The document states,
That is, for SUB-DATA, in the case of a COUNT value of 0, only an
ADDCHUNKNUM will be present following the COUNT, to indicate the add
chunk that contained the host key. In the case of COUNT >= 1, there
will be 1 or more [ADDCHUNKNUM PREFIX] pairs.
For the data below,
s:5282:4:26
54 94 1B FD 01 00 02 6F 3A 6B 14 54 ED 37 7F 37 6D 01 00 02 59 F9 14
7A 9F 41
hostkey = 54 94 1B FD
count = 01
ADDCHUNKNUM = 00 02 6F 3A
PREFIX = 6B 14 54 ED
ADDCHUNKNUM = 37 7F 37 6D
PREFIX = 01 00 02 59
ADDCHUNKNUM = F9 14 7A 9F
PREFIX = 41
hostkey = 4 bytes, count = 1 byte, ADDCHUNKNUM = 4 bytes, PREFIX = 4
bytes.
I'm a little confused because the last prefix is only 1 byte, am I
making a mistake somewhere?
Thanks in advance.