Exemple #1
0
 def from_binary(cls, x):
     d = json.loads(zlib.decompress(x))
     return cls(util.tuple_to_key(d['public_key']),
                DomainRecord.from_obj(d['record']), d['signature'])
Exemple #2
0
 def from_binary(cls, x):
     d = json.loads(zlib.decompress(x))
     return cls(util.tuple_to_key(d['public_key']), DomainRecord.from_obj(d['record']), d['signature'])
Exemple #3
0
 def from_binary(cls, x):
     return cls(util.tuple_to_key(json.loads(zlib.decompress(x))))
Exemple #4
0
 def from_binary(cls, x):
     return cls(util.tuple_to_key(json.loads(zlib.decompress(x))))