mirror of
https://github.com/SystemRage/py-kms.git
synced 2025-08-09 12:02:16 +08:00
py2-kms upload
This commit is contained in:
13
py2-kms/kmsRequestUnknown.py
Normal file
13
py2-kms/kmsRequestUnknown.py
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import struct
|
||||
|
||||
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)
|
Reference in New Issue
Block a user