def parse(self, data): rb = HaspASN1.de_asn1(data)[self.packet_id] self.val_80 = HaspASN1.asn1_get_intval(rb[0x80]) self.hasp_id = HaspASN1.asn1_get_intval(rb[0x81]) self.scope = HaspASN1.asn1_get_strval(rb[0x82]) self.format = HaspASN1.asn1_get_strval(rb[0x83]) self.val_84 = HaspASN1.asn1_get_intval(rb[0x84])
def parse(self, data): rb = HaspASN1.de_asn1(data)[self.packet_id] self.instance_id = rb[0x80] self.file_id = HaspASN1.asn1_get_intval(rb[0x81]) self.offset = HaspASN1.asn1_get_intval(rb[0x82]) self.amount = HaspASN1.asn1_get_intval(rb[0x83]) self.seedvals = rb[0x84]
def parse(self, data): rb = HaspASN1.de_asn1(data)[self.packet_id] self.instance_id = rb[0x80] self.is_decrypt = HaspASN1.asn1_get_intval(rb[0x81]) self.crypt_type = HaspASN1.asn1_get_intval(rb[0x82]) self.enc_len = HaspASN1.asn1_get_intval(rb[0x83]) self.data = rb[0x84] self.seedvals = rb[0x85] self.val_86 = HaspASN1.asn1_get_intval(rb[0x86])
def parse(self, data): rb = HaspASN1.de_asn1(data)[self.packet_id] self.status = HaspASN1.asn1_get_intval(rb[0x80]) self.instance_id = rb[0x81] self.hasp_serial = HaspASN1.asn1_get_intval(rb[0x82]) self.val_83 = HaspASN1.asn1_get_intval(rb[0x83]) self.val_84 = HaspASN1.asn1_get_intval(rb[0x84]) self.val_85 = HaspASN1.asn1_get_intval(rb[0x85]) self.val_87 = HaspASN1.asn1_get_intval(rb[0x87]) self.schannel_id = HaspASN1.asn1_get_intval(rb[0x88]) self.val_89 = HaspASN1.asn1_get_intval(rb[0x89]) self.val_8a = rb[0x8A] self.val_8b = HaspASN1.asn1_get_intval(rb[0x8B])
def parse(self, data): rb = HaspASN1.de_asn1(data)[self.packet_id] self.status = HaspASN1.asn1_get_intval(rb[0x80]) self.info = HaspASN1.asn1_get_strval(rb[0x81])
def parse(self, data): rb = HaspASN1.de_asn1(data)[self.packet_id] self.instance_id = rb[0x80] self.file_id = HaspASN1.asn1_get_intval(rb[0x81])
def parse(self, data): rb = HaspASN1.de_asn1(data)[self.packet_id] self.status = HaspASN1.asn1_get_intval(rb[0x80]) self.schannel_address = struct.unpack(">I", rb[0x81])[0]
def parse(self, data): rb = HaspASN1.de_asn1(data)[self.packet_id] self.pid = HaspASN1.asn1_get_intval(rb[0x80]) self.tid = HaspASN1.asn1_get_intval(rb[0x81]) self.hasp_uid = HaspASN1.asn1_get_intval(rb[0x82]) self.vendor_id = HaspASN1.asn1_get_intval(rb[0x83]) self.username = HaspASN1.asn1_get_strval(rb[0x84]) self.machine_name = HaspASN1.asn1_get_strval(rb[0x85]) self.login_type = HaspASN1.asn1_get_strval(rb[0x86]) self.spec = HaspASN1.asn1_get_strval(rb[0x87]) self.scope = HaspASN1.asn1_get_strval(rb[0x88]) self.val_89 = HaspASN1.asn1_get_intval(rb[0x89]) self.val_8A = HaspASN1.asn1_get_intval(rb[0x8A]) self.timestamp = HaspASN1.asn1_get_intval(rb[0x8B]) self.val_8c = HaspASN1.asn1_get_intval(rb[0x8C]) self.val_8d = HaspASN1.asn1_get_intval(rb[0x8D]) self.val_8e = HaspASN1.asn1_get_intval(rb[0x8E]) self.val_8f = HaspASN1.asn1_get_intval(rb[0x8F]) self.volume_serial = HaspASN1.asn1_get_intval(rb[0x90]) self.val_91 = HaspASN1.asn1_get_intval(rb[0x91]) self.hasp_handle = HaspASN1.asn1_get_intval(rb[0x92]) self.val_93 = HaspASN1.asn1_get_intval(rb[0x93])
def parse(self, data): rb = HaspASN1.de_asn1(data)[self.packet_id] self.val_80 = HaspASN1.asn1_get_intval(rb[0x80]) self.val_81 = HaspASN1.asn1_get_intval(rb[0x81]) self.val_82 = HaspASN1.asn1_get_intval(rb[0x82]) self.timestamp = HaspASN1.asn1_get_intval(rb[0x84])
def parse(self, data): rb = HaspASN1.de_asn1(data)[self.packet_id] self.status = HaspASN1.asn1_get_intval(rb[0x80]) self.num_written = HaspASN1.asn1_get_intval(rb[0x81]) self.seedvals = rb[0x82]
def parse(self, data): rb = HaspASN1.de_asn1(data)[self.packet_id] self.status = HaspASN1.asn1_get_intval(rb[0x80]) self.data = rb[0x81] self.val_82 = HaspASN1.asn1_get_intval(rb[0x82])