mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-13 06:34:45 -04:00
Uploaded py-kms_2017-06-01
This commit is contained in:
parent
9b00c0df09
commit
42d374a993
20 changed files with 4960 additions and 0 deletions
9
kmsRequestUnknown.py
Normal file
9
kmsRequestUnknown.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue