Uploaded py-kms_2017-06-01

This commit is contained in:
Matteo ℱan 2017-06-14 23:08:03 +02:00 committed by GitHub
parent 9b00c0df09
commit 42d374a993
20 changed files with 4960 additions and 0 deletions

9
kmsRequestUnknown.py Normal file
View file

@ -0,0 +1,9 @@
from kmsBase import kmsBase
class kmsRequestUnknown(kmsBase):
def getResponse(self):
finalResponse = bytearray()
finalResponse.extend(bytearray(struct.pack('<I', 0)))
finalResponse.extend(bytearray(struct.pack('<I', 0)))
finalResponse.extend(bytearray(struct.pack('<I', self.errorCodes['SL_E_VL_KEY_MANAGEMENT_SERVICE_ID_MISMATCH'])))
return str(finalResponse)