¡@

Home 

2014/10/15 ¤U¤È 10:13:51

iphone Programming Glossary: self.type

How to decrypt an encrypted Apple iTunes iPhone backup?

http://stackoverflow.com/questions/1498342/how-to-decrypt-an-encrypted-apple-itunes-iphone-backup

11 kSecAttrAccessibleAlwaysThisDeviceOnly WRAP_DEVICE 1 WRAP_PASSCODE 2 class Keybag object def __init__ self data self.type None self.uuid None self.wrap None self.deviceKey None self.attrs self.classKeys self.KeyBagKeys None #DATASIGN blob self.parseBinaryBlob.. data currentClassKey None for tag data in loopTLVBlocks data if len data 4 data struct.unpack L data 0 if tag TYPE self.type data if self.type 3 print FAIL keybag type 3 d self.type elif tag UUID and self.uuid is None self.uuid data elif tag.. None for tag data in loopTLVBlocks data if len data 4 data struct.unpack L data 0 if tag TYPE self.type data if self.type 3 print FAIL keybag type 3 d self.type elif tag UUID and self.uuid is None self.uuid data elif tag WRAP and self.wrap..