def parse_result(self, data):
<EOL>count = ord(data[<NUM_LIT:0>])<EOL>if self.offset == <NUM_LIT:0>:<EOL><INDENT>if count != self.num_bytes:<EOL><INDENT>raise pyhsm.exception.YHSM_Error("<STR_LIT>"% (self.num_bytes, count))<EOL><DEDENT><DEDENT>return count<EOL>
Return True if the public_id in the response matches the one in the request.